Triplet files now define variables for arch, linkage, etc

This commit is contained in:
Alexander Karatarakis 2016-09-28 12:16:20 -07:00
parent 8b4f7d4a98
commit 0fc610b2f7
7 changed files with 31 additions and 15 deletions

View File

@ -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")

View File

@ -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")

View File

@ -0,0 +1,3 @@
set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE static)
set(VCPKG_BUILD_SHARED_LIBS OFF)

View File

@ -0,0 +1,4 @@
set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_BUILD_SHARED_LIBS ON)

View File

@ -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")

View File

@ -0,0 +1,3 @@
set(VCPKG_TARGET_ARCHITECTURE x86)
set(VCPKG_CRT_LINKAGE static)
set(VCPKG_BUILD_SHARED_LIBS OFF)

View File

@ -0,0 +1,3 @@
set(VCPKG_TARGET_ARCHITECTURE x86)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_BUILD_SHARED_LIBS ON)