mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-08-03 20:57:55 -04:00
vcpkg: switch to static build
This commit is contained in:
parent
168317a113
commit
39a67a584c
13
.github/workflows/win_msvc.yml
vendored
13
.github/workflows/win_msvc.yml
vendored
@ -1,12 +1,12 @@
|
||||
name: artifacts
|
||||
|
||||
on:
|
||||
# push:
|
||||
# branches: [ master ]
|
||||
# tags: ['*']
|
||||
# paths-ignore: ['**.md']
|
||||
# pull_request:
|
||||
# branches: [ master ]
|
||||
push:
|
||||
branches: [ master ]
|
||||
tags: ['*']
|
||||
paths-ignore: ['**.md']
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
@ -53,6 +53,7 @@ jobs:
|
||||
run: |
|
||||
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DENABLE_WERROR=ON `
|
||||
-DCMAKE_TOOLCHAIN_FILE="${{ env.VCPKG_ROOT }}/scripts/buildsystems/vcpkg.cmake" `
|
||||
-DVCPKG_TARGET_TRIPLET="${{ matrix.arch }}-windows-static-release" `
|
||||
-DVCPKG_OVERLAY_TRIPLETS="cmake/triplets"
|
||||
|
||||
- name: Build
|
||||
|
@ -1,4 +0,0 @@
|
||||
set(VCPKG_TARGET_ARCHITECTURE x64)
|
||||
set(VCPKG_CRT_LINKAGE dynamic)
|
||||
set(VCPKG_LIBRARY_LINKAGE dynamic)
|
||||
set(VCPKG_BUILD_TYPE release)
|
5
cmake/triplets/x86-windows-static-release.cmake
Normal file
5
cmake/triplets/x86-windows-static-release.cmake
Normal file
@ -0,0 +1,5 @@
|
||||
set(VCPKG_TARGET_ARCHITECTURE x86)
|
||||
set(VCPKG_CRT_LINKAGE static)
|
||||
set(VCPKG_LIBRARY_LINKAGE static)
|
||||
|
||||
set(VCPKG_BUILD_TYPE release)
|
@ -1,4 +0,0 @@
|
||||
set(VCPKG_TARGET_ARCHITECTURE x86)
|
||||
set(VCPKG_CRT_LINKAGE dynamic)
|
||||
set(VCPKG_LIBRARY_LINKAGE dynamic)
|
||||
set(VCPKG_BUILD_TYPE release)
|
Loading…
x
Reference in New Issue
Block a user