zlib-build.bat

This commit is contained in:
2024-07-17 17:11:50 -06:00
parent 042d2eaaa7
commit a23ff469fa
2 changed files with 10 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
vcpkg integrate install
setlocal enabledelayedexpansion
for /f "usebackq tokens=*" %%i in (`vswhere -latest -requires Microsoft.Component.MSBuild -find MSBuild\**\Bin\MSBuild.exe`) do (
"%%i" -clp:ForceConsoleColor -target:Build -property:Configuration=Release -property:Platform=%1 -property:VcpkgEnableManifest=true "deps/zlib/build/zlib.sln"
exit /b !errorlevel!
)