mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 20:23:02 +08:00
Triplet files now define variables for arch, linkage, etc
This commit is contained in:
parent
8b4f7d4a98
commit
0fc610b2f7
@ -1,6 +1,7 @@
|
||||
set(CMAKE_SYSTEM_NAME WindowsStore)
|
||||
set(CMAKE_SYSTEM_VERSION 10.0)
|
||||
set(VCPKG_TARGET_ARCHITECTURE arm)
|
||||
set(VCPKG_CRT_LINKAGE dynamic)
|
||||
set(VCPKG_BUILD_SHARED_LIBS ON)
|
||||
|
||||
if(NOT CMAKE_GENERATOR MATCHES "Visual Studio 14 2015 ARM")
|
||||
message(FATAL_ERROR "Visual Studio Generator must be used to target UWP")
|
||||
endif()
|
||||
set(VCPKG_CMAKE_SYSTEM_NAME WindowsStore)
|
||||
set(VCPKG_CMAKE_SYSTEM_VERSION 10.0)
|
||||
set(VCPKG_REQUIRE_GENERATOR "Visual Studio 14 2015 Win64")
|
||||
|
@ -1,6 +1,7 @@
|
||||
set(CMAKE_SYSTEM_NAME WindowsStore)
|
||||
set(CMAKE_SYSTEM_VERSION 10.0)
|
||||
set(VCPKG_TARGET_ARCHITECTURE x64)
|
||||
set(VCPKG_CRT_LINKAGE dynamic)
|
||||
set(VCPKG_BUILD_SHARED_LIBS ON)
|
||||
|
||||
if(NOT CMAKE_GENERATOR MATCHES "Visual Studio 14 2015 Win64")
|
||||
message(FATAL_ERROR "Visual Studio Generator must be used to target UWP.")
|
||||
endif()
|
||||
set(VCPKG_CMAKE_SYSTEM_NAME WindowsStore)
|
||||
set(VCPKG_CMAKE_SYSTEM_VERSION 10.0)
|
||||
set(VCPKG_REQUIRE_GENERATOR "Visual Studio 14 2015 Win64")
|
||||
|
3
triplets/x64-windows-static.cmake
Normal file
3
triplets/x64-windows-static.cmake
Normal file
@ -0,0 +1,3 @@
|
||||
set(VCPKG_TARGET_ARCHITECTURE x64)
|
||||
set(VCPKG_CRT_LINKAGE static)
|
||||
set(VCPKG_BUILD_SHARED_LIBS OFF)
|
@ -0,0 +1,4 @@
|
||||
set(VCPKG_TARGET_ARCHITECTURE x64)
|
||||
set(VCPKG_CRT_LINKAGE dynamic)
|
||||
set(VCPKG_BUILD_SHARED_LIBS ON)
|
||||
|
@ -1,6 +1,7 @@
|
||||
set(CMAKE_SYSTEM_NAME WindowsStore)
|
||||
set(CMAKE_SYSTEM_VERSION 10.0)
|
||||
set(VCPKG_TARGET_ARCHITECTURE x86)
|
||||
set(VCPKG_CRT_LINKAGE dynamic)
|
||||
set(VCPKG_BUILD_SHARED_LIBS ON)
|
||||
|
||||
if(NOT CMAKE_GENERATOR MATCHES "Visual Studio 14 2015")
|
||||
message(FATAL_ERROR "Visual Studio Generator must be used to target UWP")
|
||||
endif()
|
||||
set(VCPKG_CMAKE_SYSTEM_NAME WindowsStore)
|
||||
set(VCPKG_CMAKE_SYSTEM_VERSION 10.0)
|
||||
set(VCPKG_REQUIRE_GENERATOR "Visual Studio 14 2015 Win64")
|
||||
|
3
triplets/x86-windows-static.cmake
Normal file
3
triplets/x86-windows-static.cmake
Normal file
@ -0,0 +1,3 @@
|
||||
set(VCPKG_TARGET_ARCHITECTURE x86)
|
||||
set(VCPKG_CRT_LINKAGE static)
|
||||
set(VCPKG_BUILD_SHARED_LIBS OFF)
|
@ -0,0 +1,3 @@
|
||||
set(VCPKG_TARGET_ARCHITECTURE x86)
|
||||
set(VCPKG_CRT_LINKAGE dynamic)
|
||||
set(VCPKG_BUILD_SHARED_LIBS ON)
|
Loading…
Reference in New Issue
Block a user