Update build_windows.yml

This commit is contained in:
Kae 2024-02-20 15:42:54 +11:00
parent 187ab51df0
commit 941bcb5bf8

View File

@ -25,6 +25,7 @@ jobs:
run: > run: >
cmake -G "Visual Studio 17 2022" -A "X64" -S "${{ github.workspace }}/source" -B "${{ github.workspace }}/cmake-build-debug" cmake -G "Visual Studio 17 2022" -A "X64" -S "${{ github.workspace }}/source" -B "${{ github.workspace }}/cmake-build-debug"
-DCMAKE_TOOLCHAIN_FILE="${Env:VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake" -DCMAKE_TOOLCHAIN_FILE="${Env:VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake"
-DVCPKG_OVERLAY_TRIPLETS="${{ github.workspace }}\triplets"
-DVCPKG_TARGET_TRIPLET=x64-windows-mixed-md -DVCPKG_TARGET_TRIPLET=x64-windows-mixed-md
-DCMAKE_MSVC_RUNTIME_LIBRARY="MultiThreaded$<$<CONFIG:Debug>:Debug>DLL" -DCMAKE_MSVC_RUNTIME_LIBRARY="MultiThreaded$<$<CONFIG:Debug>:Debug>DLL"
-DCMAKE_INSTALL_PREFIX="${{ github.workspace }}/install" -DCMAKE_INSTALL_PREFIX="${{ github.workspace }}/install"