Use the propper static/dynamic crt triplet

This commit is contained in:
Martin Tůma 2023-09-26 19:43:01 +02:00
parent bff8c7229c
commit 450a1458a3

View File

@ -16,8 +16,8 @@ install:
- cmd: |- - cmd: |-
set PATH=%QTDIR%\bin;%VCPKGDIR%\tools\protobuf;%PATH% set PATH=%QTDIR%\bin;%VCPKGDIR%\tools\protobuf;%PATH%
call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat
vcpkg install protobuf:x64-windows vcpkg install protobuf:x64-windows-static-md
vcpkg install zlib:x64-windows vcpkg install zlib:x64-windows-static-md
copy /y %VCPKGDIR%\lib\zlib.lib %VCPKGDIR%\lib\zlibstatic.lib copy /y %VCPKGDIR%\lib\zlib.lib %VCPKGDIR%\lib\zlibstatic.lib
build_script: build_script:
@ -29,4 +29,4 @@ artifacts:
- path: release\pbf.dll - path: release\pbf.dll
cache: cache:
- C:\tools\vcpkg\installed\ #- C:\tools\vcpkg\installed\