diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-09-28 16:21:47 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-09-28 16:21:47 -0700 |
| commit | e4ada711c27221f2abd166c65a11940caff88f51 (patch) | |
| tree | 54cde592721a1ac9565d7471febe2847d2bca2f4 /scripts | |
| parent | 1402262962f9f29faa1c611b78b793a389a13843 (diff) | |
| download | vcpkg-e4ada711c27221f2abd166c65a11940caff88f51.tar.gz vcpkg-e4ada711c27221f2abd166c65a11940caff88f51.zip | |
Add Common Ambient Variables to porfile template
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/templates/portfile.in.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/templates/portfile.in.cmake b/scripts/templates/portfile.in.cmake index f74c89aca..7d68d4525 100644 --- a/scripts/templates/portfile.in.cmake +++ b/scripts/templates/portfile.in.cmake @@ -1,3 +1,12 @@ +# 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} +# + +include(${CMAKE_TRIPLET_FILE}) include(vcpkg_common_functions) vcpkg_download_distfile(ARCHIVE URLS "@URL@" |
