| ... | ... | @@ -17,8 +17,9 @@ call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliar |
| 17 | 17 | |
| 18 | 18 | mkdir %ZIGBUILDDIR% |
| 19 | 19 | cd %ZIGBUILDDIR% |
| 20 | | cmake.exe .. -Thost=x64 -G"Visual Studio 16 2019" -A x64 "-DCMAKE_INSTALL_PREFIX=%ZIGINSTALLDIR%" "-DCMAKE_PREFIX_PATH=%ZIGPREFIXPATH%" -DCMAKE_BUILD_TYPE=Release || exit /b |
| 21 | | msbuild /p:Configuration=Release INSTALL.vcxproj || exit /b |
| 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 |
| 22 | msbuild /p:Configuration=MinSizeRel INSTALL.vcxproj || exit /b |
| 22 | 23 | |
| 23 | 24 | "%ZIGINSTALLDIR%\bin\zig.exe" build test || exit /b |
| 24 | 25 | |