From 7bdf189a921fdee47044e907a3ff48ce8c880fe2 Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Wed, 3 May 2017 16:33:02 -0700 Subject: Rework vcpkg's triplet environment reading The triplet is "run" and vcpkg observes the environment. Previously, the environment was deduced by the triplet's name --- scripts/get_triplet_environment.cmake | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 scripts/get_triplet_environment.cmake (limited to 'scripts') diff --git a/scripts/get_triplet_environment.cmake b/scripts/get_triplet_environment.cmake new file mode 100644 index 000000000..69e06bf97 --- /dev/null +++ b/scripts/get_triplet_environment.cmake @@ -0,0 +1,8 @@ +include(${CMAKE_TRIPLET_FILE}) + +# GUID used as a flag - "cut here line" +message("c35112b6-d1ba-415b-aa5d-81de856ef8eb") +message("VCPKG_TARGET_ARCHITECTURE=${VCPKG_TARGET_ARCHITECTURE}") +message("VCPKG_CMAKE_SYSTEM_NAME=${VCPKG_CMAKE_SYSTEM_NAME}") +message("VCPKG_CMAKE_SYSTEM_VERSION=${VCPKG_CMAKE_SYSTEM_VERSION}") +message("VCPKG_PLATFORM_TOOLSET=${VCPKG_PLATFORM_TOOLSET}") \ No newline at end of file -- cgit v1.2.3