found ninja in C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\ninja.exe
found 7zip in C:\Program Files\7-Zip\7z.exe
	cd src\mapcache-rel-1-14-1-vc17x64
	cd lib
	powershell -Command "(gc util.c) -replace 'typedef unsigned long int uint64_t', 'typedef unsigned long long uint64_t' | Out-File -encoding ASCII util.c"
	cd ..
	if exist vc17x64 rd /Q /S vc17x64
	if not exist vc17x64 mkdir vc17x64
	cd vc17x64
	E:\buildsystem\cmake\bin\cmake.exe ..\ -G "Visual Studio 17 2022" -A x64 "-DCMAKE_PREFIX_PATH=E:\buildsystem\release-1930-x64" "-DCMAKE_INSTALL_PREFIX=E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\vc17x64\install" -DCMAKE_BUILD_TYPE=Release -DFCGI_LIBRARY=E:\buildsystem\release-1930-x64\lib\libfcgi.lib -DAPR_LIBRARY=E:/buildsystem/release-1930-x64/lib/libapr-1.lib -DAPU_LIBRARY=E:/buildsystem/release-1930-x64/lib/libaprutil-1.lib -DAPACHE_LIBRARY=E:/buildsystem/release-1930-x64/lib/libhttpd.lib -DWITH_POSTGRESQL=1 -DWITH_TIFF=1 -DWITH_TIFF_WRITE_SUPPORT=1 -DWITH_PCRE=1
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19045.
-- The C compiler identification is MSVC 19.42.34435.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for strncasecmp
-- Looking for strncasecmp - not found
-- Looking for symlink
-- Looking for symlink - not found
-- Looking for timegm
-- Looking for timegm - not found
-- Looking for strptime
-- Looking for strptime - not found
-- Found ZLIB: E:/buildsystem/release-1930-x64/lib/zlib.lib (found version "1.3.1") 
-- Found PNG: E:/buildsystem/release-1930-x64/lib/libpng16.lib (found version "1.6.37") 
-- Found JPEG: E:/buildsystem/release-1930-x64/lib/libjpeg.lib (found version "90") 
-- Found CURL: E:/buildsystem/release-1930-x64/lib/libcurl_imp.lib (found version "8.11.0-DEV")  
-- Found APR: E:/buildsystem/release-1930-x64/lib/libapr-1.lib  
-- Found APU: E:/buildsystem/release-1930-x64/lib/libaprutil-1.lib  
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
-- Found Pixman: E:/buildsystem/release-1930-x64/lib/pixman-1.lib  
-- Found GDAL: E:/buildsystem/release-1930-x64/lib/gdal_i.lib  
-- Found PCRE: E:/buildsystem/release-1930-x64/lib/pcre.lib  
-- Found SQLITE: E:/buildsystem/release-1930-x64/lib/sqlite3.lib  
-- Found PostgreSQL: E:/buildsystem/release-1930-x64/lib/libpq.lib   
-- Found TIFF: E:/buildsystem/release-1930-x64/lib/tiff.lib (found version "4.7.0")  
-- * Configured options for the mapcache library
--  * Mandatory components
--   * png: E:/buildsystem/release-1930-x64/lib/libpng16.lib
--   * jpeg: E:/buildsystem/release-1930-x64/lib/libjpeg.lib
--   * Curl: E:/buildsystem/release-1930-x64/lib/libcurl_imp.lib
--   * Apr: E:/buildsystem/release-1930-x64/lib/libapr-1.lib
--  * Optional components
--   * PIXMAN: E:/buildsystem/release-1930-x64/lib/pixman-1.lib
--   * SQLITE: E:/buildsystem/release-1930-x64/lib/sqlite3.lib
--   * POSTGRESQL: E:/buildsystem/release-1930-x64/lib/libpq.lib
--   * Berkeley DB: disabled
--   * LMDB: disabled
--   * Memcache: disabled
--   * Redis: disabled
--   * TIFF: E:/buildsystem/release-1930-x64/lib/tiff.lib
--   * GeoTIFF: disabled
--   * Experimental TIFF write support: E:/buildsystem/release-1930-x64/lib/tiff.lib
--   * PCRE: E:/buildsystem/release-1930-x64/lib/pcre.lib
--   * PCRE2: disabled
--   * Experimental mapserver support: disabled
--   * RIAK: disabled
--   * GDAL: E:/buildsystem/release-1930-x64/lib/gdal_i.lib
--  * Optional features
--   * MAPCACHE_DETAIL: ENABLED
-- Found GEOS: E:/buildsystem/release-1930-x64/lib/geos_c.lib  
-- * Seeder Configuration Options:
--   * GEOS: E:/buildsystem/release-1930-x64/lib/geos_c.lib
--   * OGR: E:/buildsystem/release-1930-x64/lib/gdal_i.lib
-- Found FCGI: E:/buildsystem/release-1930-x64/lib/libfcgi.lib  
-- * CGI Configuration Options:
--   * FastCGI: E:/buildsystem/release-1930-x64/lib/libfcgi.lib
-- Found APACHE: E:/buildsystem/release-1930-x64/include  
-- * Apache Module support status:
--   * Mapcache Version String: mod_mapcache/1.14.1
-- * mapcache_detail Configuration Options:
--  * Mandatory components
--   * SQLite: E:/buildsystem/release-1930-x64/lib/sqlite3.lib
--  * Optional components
--   * GEOS: E:/buildsystem/release-1930-x64/lib/geos_c.lib
--   * OGR: E:/buildsystem/release-1930-x64/lib/gdal_i.lib
-- Configuring done
-- Generating done
-- Build files have been written to: E:/buildsystem/src/mapcache-rel-1-14-1-vc17x64/vc17x64
	E:\buildsystem\cmake\bin\cmake.exe --build . --config Release --target install
MSBuild version 17.12.6+db5f6012c for .NET Framework

  Checking Build System
  Building Custom Rule E:/buildsystem/src/mapcache-rel-1-14-1-vc17x64/CMakeLists.txt
  axisorder.c
  buffer.c
  cJSON.c
  cache.c
  cache_bdb.c
  cache_composite.c
  cache_couchbase.c
E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\lib\cache_composite.c(146,3): warning C4098: '_mapcache_cache_composite_tile_set': 'void' function returning a value [E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\vc17x64\mapcache.vcxproj]
E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\lib\cache_composite.c(155,3): warning C4098: '_mapcache_cache_composite_tile_multi_set': 'void' function returning a value [E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\vc17x64\mapcache.vcxproj]
  cache_disk.c
  cache_fallback.c
  cache_lmdb.c
  cache_memcache.c
  cache_multitier.c
E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\lib\cache_multitier.c(103,3): warning C4098: '_mapcache_cache_multitier_tile_set': 'void' function returning a value [E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\vc17x64\mapcache.vcxproj]
E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\lib\cache_multitier.c(110,3): warning C4098: '_mapcache_cache_multitier_tile_multi_set': 'void' function returning a value [E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\vc17x64\mapcache.vcxproj]
  cache_redis.c
  cache_rest.c
  cache_riak.c
  cache_sqlite.c
  cache_tiff.c
  cache_tokyocabinet.c
  configuration.c
  configuration_xml.c
  Generating Code...
  Compiling...
  connection_pool.c
  core.c
  dimension.c
  dimension_es.c
  dimension_pg.c
  dimension_sqlite.c
  dimension_time.c
  ezxml.c
  grid.c
  hmac-sha.c
  http.c
  image.c
  image_error.c
  imageio.c
  imageio_jpeg.c
E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\lib\imageio_jpeg.c(115,26): warning C4133: '=': incompatible types - from 'int (__cdecl *)(j_decompress_ptr)' to 'boolean (__cdecl *)(j_decompress_ptr)' [E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\vc17x64\mapcache.vcxproj]
E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\lib\imageio_jpeg.c(170,73): warning C4133: '=': incompatible types - from 'int (__cdecl *)(j_compress_ptr)' to 'boolean (__cdecl *)(j_compress_ptr)' [E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\vc17x64\mapcache.vcxproj]
  imageio_mixed.c
  imageio_png.c
  imageio_raw.c
  lock.c
  ruleset.c
  Generating Code...
  Compiling...
  service_demo.c
E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\lib\service_demo.c(1079,5): warning C4098: '_create_capabilities_demo': 'void' function returning a value [E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\vc17x64\mapcache.vcxproj]
E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\lib\service_demo.c(1083,9): warning C4098: '_create_capabilities_demo': 'void' function returning a value [E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\vc17x64\mapcache.vcxproj]
E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\lib\service_demo.c(1085,9): warning C4098: '_create_capabilities_demo': 'void' function returning a value [E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\vc17x64\mapcache.vcxproj]
E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\lib\service_demo.c(1087,9): warning C4098: '_create_capabilities_demo': 'void' function returning a value [E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\vc17x64\mapcache.vcxproj]
E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\lib\service_demo.c(1089,9): warning C4098: '_create_capabilities_demo': 'void' function returning a value [E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\vc17x64\mapcache.vcxproj]
E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\lib\service_demo.c(1091,9): warning C4098: '_create_capabilities_demo': 'void' function returning a value [E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\vc17x64\mapcache.vcxproj]
E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\lib\service_demo.c(1093,9): warning C4098: '_create_capabilities_demo': 'void' function returning a value [E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\vc17x64\mapcache.vcxproj]
E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\lib\service_demo.c(1095,9): warning C4098: '_create_capabilities_demo': 'void' function returning a value [E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\vc17x64\mapcache.vcxproj]
  service_kml.c
  service_mapguide.c
  service_tms.c
  service_ve.c
  service_wms.c
  service_wmts.c
  services.c
  source.c
  source_dummy.c
  source_fallback.c
  source_gdal.c
  source_mapserver.c
  source_wms.c
  strptime.c
  tileset.c
E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\lib\tileset.c(1092,3): warning C4098: 'mapcache_tileset_tile_get_with_subdimensions': 'void' function returning a value [E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\vc17x64\mapcache.vcxproj]
E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\lib\tileset.c(1232,7): warning C4098: 'mapcache_tileset_tile_get': 'void' function returning a value [E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\vc17x64\mapcache.vcxproj]
E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\lib\tileset.c(1257,3): warning C4098: 'mapcache_tileset_tile_get': 'void' function returning a value [E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\vc17x64\mapcache.vcxproj]
  util.c
E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\lib\util.c(612,5): warning C4028: formal parameter 3 different from declaration [E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\vc17x64\mapcache.vcxproj]
E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\lib\util.c(612,5): warning C4273: 'strnicmp': inconsistent dll linkage [E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\vc17x64\mapcache.vcxproj]
      C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\string.h(556,26):
      see previous definition of 'strnicmp'
  
  Generating Code...
     Creating library E:/buildsystem/src/mapcache-rel-1-14-1-vc17x64/vc17x64/Release/mapcache.lib and object E:/buildsystem/src/mapcache-rel-1-14-1-vc17x64/vc17x64/Release/mapcache.exp
  mapcache.vcxproj -> E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\vc17x64\Release\mapcache.dll
  Building Custom Rule E:/buildsystem/src/mapcache-rel-1-14-1-vc17x64/apache/CMakeLists.txt
  mod_mapcache.c
     Creating library E:/buildsystem/src/mapcache-rel-1-14-1-vc17x64/vc17x64/apache/Release/mod_mapcache.lib and object E:/buildsystem/src/mapcache-rel-1-14-1-vc17x64/vc17x64/apache/Release/mod_mapcache.exp
  mod_mapcache.vcxproj -> E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\vc17x64\apache\Release\mod_mapcache.dll
  Building Custom Rule E:/buildsystem/src/mapcache-rel-1-14-1-vc17x64/cgi/CMakeLists.txt
  mapcache.c
  mapcache.fcgi.vcxproj -> E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\vc17x64\cgi\Release\mapcache.fcgi.exe
  Building Custom Rule E:/buildsystem/src/mapcache-rel-1-14-1-vc17x64/contrib/mapcache_detail/CMakeLists.txt
  mapcache_detail.c
  mapcache_detail.vcxproj -> E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\vc17x64\contrib\mapcache_detail\Release\mapcache_detail.exe
  Building Custom Rule E:/buildsystem/src/mapcache-rel-1-14-1-vc17x64/util/CMakeLists.txt
  mapcache_seed.c
  mapcache_seed.vcxproj -> E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\vc17x64\util\Release\mapcache_seed.exe
  Building Custom Rule E:/buildsystem/src/mapcache-rel-1-14-1-vc17x64/CMakeLists.txt
  -- Install configuration: "Release"
  -- Installing: E:/buildsystem/src/mapcache-rel-1-14-1-vc17x64/vc17x64/install/lib/mapcache.lib
  -- Installing: E:/buildsystem/src/mapcache-rel-1-14-1-vc17x64/vc17x64/install/lib/mapcache.dll
  -- Installing: E:/buildsystem/src/mapcache-rel-1-14-1-vc17x64/vc17x64/install/bin/mapcache_seed.exe
  -- Installing: E:/buildsystem/src/mapcache-rel-1-14-1-vc17x64/vc17x64/install/bin/mapcache.fcgi.exe
  -- Installing: E:/buildsystem/src/mapcache-rel-1-14-1-vc17x64/vc17x64/install/bin/mapcache_detail.exe
	if not exist E:\buildsystem\release-1930-x64\bin\ms mkdir E:\buildsystem\release-1930-x64\bin\ms
	if not exist E:\buildsystem\release-1930-x64\bin\ms\apps mkdir E:\buildsystem\release-1930-x64\bin\ms\apps
	cd E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\vc17x64\install
	xcopy /Y lib\*.dll E:\buildsystem\release-1930-x64\bin
lib\mapcache.dll
1 File(s) copied
	xcopy /Y bin\*.exe E:\buildsystem\release-1930-x64\bin\ms\apps
bin\mapcache.fcgi.exe
bin\mapcache_detail.exe
bin\mapcache_seed.exe
3 File(s) copied
	xcopy /Y lib\*.lib E:\buildsystem\release-1930-x64\lib
lib\mapcache.lib
1 File(s) copied
	cd E:\buildsystem\src\mapcache-rel-1-14-1-vc17x64\vc17x64\apache\Release
	xcopy /Y *.dll E:\buildsystem\release-1930-x64\bin
E:mod_mapcache.dll
1 File(s) copied
	cd E:\buildsystem