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

@@ -59,7 +59,7 @@ jobs:
working-directory: deps/zlib
if: ${{ matrix.os == 'windows' }}
- name: Build zlib for linux
run: ls && make && make install && ls
run: make && sudo make install
working-directory: deps/zlib/build
if: ${{ matrix.os == 'ubuntu' }}
- name: Build zlib for windows

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!
)