Add triplets for static libraries with dynamic CRT on Windows (#10028)

* Add triplets for static libs with dynamic CRT

* Update .gitignore
This commit is contained in:
Victor Romero 2020-02-12 11:46:40 -08:00 committed by GitHub
parent 7365cd74ef
commit 71a9def3df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

4
.gitignore vendored
View File

@ -291,7 +291,6 @@ __pycache__/
/toolsrc/msbuild.x86.release/
/toolsrc/msbuild.x64.debug/
/toolsrc/msbuild.x64.release/
#ignore custom triplets
/triplets/*
#add vcpkg-designed triplets back in
!triplets/community/arm64-mingw.cmake
@ -299,9 +298,11 @@ __pycache__/
!triplets/community/arm-mingw.cmake
!triplets/community/arm-windows.cmake
!triplets/community/x64-mingw.cmake
!triplets/community/x64-windows-static-md.cmake
!triplets/community/x86-mingw.cmake
!triplets/community/x86-uwp.cmake
!triplets/community/x86-windows-static.cmake
!triplets/community/x86-windows-static-md.cmake
!triplets/arm-uwp.cmake
!triplets/x64-uwp.cmake
!triplets/x64-windows.cmake
@ -310,6 +311,7 @@ __pycache__/
!triplets/arm64-windows.cmake
!triplets/x64-linux.cmake
!triplets/x64-osx.cmake
#ignore custom triplets
*.exe
*.zip

View File

@ -0,0 +1,3 @@
set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE static)

View File

@ -0,0 +1,3 @@
set(VCPKG_TARGET_ARCHITECTURE x86)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE static)