forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Triplet files now define variables for arch, linkage, etc
- Loading branch information
1 parent
8b4f7d4
commit 0fc610b
Showing
7 changed files
with
31 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
set(VCPKG_TARGET_ARCHITECTURE x64) | ||
set(VCPKG_CRT_LINKAGE static) | ||
set(VCPKG_BUILD_SHARED_LIBS OFF) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
set(VCPKG_TARGET_ARCHITECTURE x64) | ||
set(VCPKG_CRT_LINKAGE dynamic) | ||
set(VCPKG_BUILD_SHARED_LIBS ON) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
set(VCPKG_TARGET_ARCHITECTURE x86) | ||
set(VCPKG_CRT_LINKAGE static) | ||
set(VCPKG_BUILD_SHARED_LIBS OFF) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
set(VCPKG_TARGET_ARCHITECTURE x86) | ||
set(VCPKG_CRT_LINKAGE dynamic) | ||
set(VCPKG_BUILD_SHARED_LIBS ON) |