aboutsummaryrefslogtreecommitdiff
path: root/scripts/templates
diff options
context:
space:
mode:
authorJackBoosY <yuzaiyang@beyondsoft.com>2019-10-07 20:07:26 -0700
committerJackBoosY <yuzaiyang@beyondsoft.com>2019-10-07 20:07:43 -0700
commitc784f08ee032dc28c4b5d15ab782d0198d3d0f0c (patch)
tree3f9bc0e39718969acde75a56c57a2aa1216ac50d /scripts/templates
parentb2f2d896077eeb88863e34d3a909e37340707838 (diff)
downloadvcpkg-c784f08ee032dc28c4b5d15ab782d0198d3d0f0c.tar.gz
vcpkg-c784f08ee032dc28c4b5d15ab782d0198d3d0f0c.zip
update templates.
Diffstat (limited to 'scripts/templates')
-rw-r--r--scripts/templates/CONTROL.in8
-rw-r--r--scripts/templates/portfile.in.cmake12
2 files changed, 19 insertions, 1 deletions
diff --git a/scripts/templates/CONTROL.in b/scripts/templates/CONTROL.in
index e22cefdce..77f287e0a 100644
--- a/scripts/templates/CONTROL.in
+++ b/scripts/templates/CONTROL.in
@@ -1,4 +1,10 @@
Source: @PORT@
Version:
Homepage:
-Description: \ No newline at end of file
+Description:
+Build-Depends:
+Default-Features:
+
+Feature:
+Description:
+Build-Depends: \ No newline at end of file
diff --git a/scripts/templates/portfile.in.cmake b/scripts/templates/portfile.in.cmake
index f6003a0cf..6081c6b19 100644
--- a/scripts/templates/portfile.in.cmake
+++ b/scripts/templates/portfile.in.cmake
@@ -2,12 +2,24 @@
# 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}
+# CURRENT_INSTALLED_DIR = ${VCPKG_ROOT_DIR}\installed\${TRIPLET}
+# DOWNLOADS = ${VCPKG_ROOT_DIR}\downloads
# 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)
+# 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_EXECUTABLE_SUFFIX
+# VCPKG_TARGET_STATIC_LIBRARY_SUFFIX
+# VCPKG_TARGET_SHARED_LIBRARY_SUFFIX
#
# See additional helpful variables in /docs/maintainers/vcpkg_common_definitions.md