aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorVictor Romero <romerosanchezv@gmail.com>2019-10-09 11:27:21 -0700
committerGitHub <noreply@github.com>2019-10-09 11:27:21 -0700
commita595ff63227693973c0787502b32d7c8903ac1c8 (patch)
treef5bfac2461126d600d74e2f95b9ac5bd1c7a9ccb /scripts
parenteac3164d51aaa3f571a85cc15dd6ce05ff5eafda (diff)
parentbc80d3c00ef99709fff6bab059b3b87090c92e58 (diff)
downloadvcpkg-a595ff63227693973c0787502b32d7c8903ac1c8.tar.gz
vcpkg-a595ff63227693973c0787502b32d7c8903ac1c8.zip
Merge pull request #8488 from JackBoosY/dev/jack/update_template
update templates.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/templates/CONTROL.in8
-rw-r--r--scripts/templates/portfile.in.cmake17
2 files changed, 24 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..62c53a6db 100644
--- a/scripts/templates/portfile.in.cmake
+++ b/scripts/templates/portfile.in.cmake
@@ -2,12 +2,29 @@
# 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_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
#
# See additional helpful variables in /docs/maintainers/vcpkg_common_definitions.md