aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJackBoosY <yuzaiyang@beyondsoft.com>2019-10-07 20:10:46 -0700
committerJackBoosY <yuzaiyang@beyondsoft.com>2019-10-07 20:11:35 -0700
commitbc80d3c00ef99709fff6bab059b3b87090c92e58 (patch)
tree5c1f545756dff811eb319c6e94897bdcd6d359cd /scripts
parentc784f08ee032dc28c4b5d15ab782d0198d3d0f0c (diff)
downloadvcpkg-bc80d3c00ef99709fff6bab059b3b87090c92e58.tar.gz
vcpkg-bc80d3c00ef99709fff6bab059b3b87090c92e58.zip
use macros VCPKG_TARGET_IS_ instead of VCPKG_CMAKE_SYSTEM_NAME
Diffstat (limited to 'scripts')
-rw-r--r--scripts/templates/portfile.in.cmake7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/templates/portfile.in.cmake b/scripts/templates/portfile.in.cmake
index 6081c6b19..62c53a6db 100644
--- a/scripts/templates/portfile.in.cmake
+++ b/scripts/templates/portfile.in.cmake
@@ -10,13 +10,18 @@
# VCPKG_LIBRARY_LINKAGE = target library linkage type (static, dynamic)
# VCPKG_ROOT_DIR = <C:\path\to\current\vcpkg>
# VCPKG_TARGET_ARCHITECTURE = target architecture (x64, x86, arm)
-# VCPKG_CMAKE_SYSTEM_NAME = "WindowsStore" "WindowsPhone" "Linux" "Darwin" "Windows" "FreeBSD" empty(windows)
# VCPKG_TOOLCHAIN = ON OFF
# TRIPLET_SYSTEM_ARCH = arm x86 x64
# BUILD_ARCH = "Win32" "x64" "ARM"
# MSBUILD_PLATFORM = "Win32"/"x64"/${TRIPLET_SYSTEM_ARCH}
# DEBUG_CONFIG = "Debug Static" "Debug Dll"
# RELEASE_CONFIG = "Release Static"" "Release DLL"
+# VCPKG_TARGET_IS_WINDOWS
+# VCPKG_TARGET_IS_UWP
+# VCPKG_TARGET_IS_LINUX
+# VCPKG_TARGET_IS_OSX
+# VCPKG_TARGET_IS_FREEBSD
+# VCPKG_TARGET_IS_ANDROID
# VCPKG_TARGET_EXECUTABLE_SUFFIX
# VCPKG_TARGET_STATIC_LIBRARY_SUFFIX
# VCPKG_TARGET_SHARED_LIBRARY_SUFFIX