aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMikhail Paulyshka <me@mixaill.tk>2017-03-13 03:39:46 +0300
committerMikhail Paulyshka <me@mixaill.tk>2017-03-13 03:39:46 +0300
commit27f0759cabaccabc669b7353761186000b8448be (patch)
tree5713556f4733866d12bf49438a8160c5f6c4abcf /scripts
parent1c9873a0daf625f67474aaf3e163c592c27ecb65 (diff)
downloadvcpkg-27f0759cabaccabc669b7353761186000b8448be.tar.gz
vcpkg-27f0759cabaccabc669b7353761186000b8448be.zip
template: add some more variables
Diffstat (limited to 'scripts')
-rw-r--r--scripts/templates/portfile.in.cmake14
1 files changed, 9 insertions, 5 deletions
diff --git a/scripts/templates/portfile.in.cmake b/scripts/templates/portfile.in.cmake
index ef72431ff..2ea430453 100644
--- a/scripts/templates/portfile.in.cmake
+++ b/scripts/templates/portfile.in.cmake
@@ -1,9 +1,13 @@
# Common Ambient Variables:
-# VCPKG_ROOT_DIR = <C:\path\to\current\vcpkg>
-# TARGET_TRIPLET is the current triplet (x86-windows, etc)
-# PORT is the current port name (zlib, etc)
-# CURRENT_BUILDTREES_DIR = ${VCPKG_ROOT_DIR}\buildtrees\${PORT}
-# CURRENT_PACKAGES_DIR = ${VCPKG_ROOT_DIR}\packages\${PORT}_${TARGET_TRIPLET}
+# CURRENT_BUILDTREES_DIR = ${VCPKG_ROOT_DIR}\buildtrees\${PORT}
+# CURRENT_PACKAGES_DIR = ${VCPKG_ROOT_DIR}\packages\${PORT}_${TARGET_TRIPLET}
+# CURRENT_PORT DIR = ${VCPKG_ROOT_DIR}\ports\${PORT}
+# PORT = current port name (zlib, etc)
+# TARGET_TRIPLET = current triplet (x86-windows, x64-windows-static, etc)
+# VCPKG_CRT_LINKAGE = C runtime linkage type (static, dynamic)
+# 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)
#
include(vcpkg_common_functions)