| ... | @@ -19,7 +19,7 @@ mkdir %ZIGBUILDDIR% | ... | @@ -19,7 +19,7 @@ mkdir %ZIGBUILDDIR% |
| 19 | cd %ZIGBUILDDIR% | 19 | cd %ZIGBUILDDIR% |
| 20 | REM Here we use MinSizeRel instead of Release to work around https://github.com/ziglang/zig/issues/3024 | 20 | REM Here we use MinSizeRel instead of Release to work around https://github.com/ziglang/zig/issues/3024 |
| 21 | cmake.exe .. -Thost=x64 -G"Visual Studio 16 2019" -A x64 "-DCMAKE_INSTALL_PREFIX=%ZIGINSTALLDIR%" "-DCMAKE_PREFIX_PATH=%ZIGPREFIXPATH%" -DCMAKE_BUILD_TYPE=MinSizeRel || exit /b | 21 | cmake.exe .. -Thost=x64 -G"Visual Studio 16 2019" -A x64 "-DCMAKE_INSTALL_PREFIX=%ZIGINSTALLDIR%" "-DCMAKE_PREFIX_PATH=%ZIGPREFIXPATH%" -DCMAKE_BUILD_TYPE=MinSizeRel || exit /b |
| 22 | msbuild /p:Configuration=MinSizeRel INSTALL.vcxproj || exit /b | 22 | msbuild /maxcpucount /p:Configuration=MinSizeRel INSTALL.vcxproj || exit /b |
| 23 | | 23 | |
| 24 | "%ZIGINSTALLDIR%\bin\zig.exe" build test || exit /b | 24 | "%ZIGINSTALLDIR%\bin\zig.exe" build test || exit /b |
| 25 | | 25 | |