diff options
| author | Alexander Karatarakis <alex@karatarakis.com> | 2017-03-13 13:47:53 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-13 13:47:53 -0700 |
| commit | 77d83aeb6fa7aaf7e5baec518b50a819b63bde09 (patch) | |
| tree | 5713556f4733866d12bf49438a8160c5f6c4abcf /scripts | |
| parent | 1c9873a0daf625f67474aaf3e163c592c27ecb65 (diff) | |
| parent | 27f0759cabaccabc669b7353761186000b8448be (diff) | |
| download | vcpkg-77d83aeb6fa7aaf7e5baec518b50a819b63bde09.tar.gz vcpkg-77d83aeb6fa7aaf7e5baec518b50a819b63bde09.zip | |
Merge pull request #779 from Mixaill/template
template: add some more variables
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/templates/portfile.in.cmake | 14 |
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) |
