aboutsummaryrefslogtreecommitdiff
path: root/docs/users/manifests.md
diff options
context:
space:
mode:
authornicole mazzuca <mazzucan@outlook.com>2021-03-10 15:33:16 -0800
committerGitHub <noreply@github.com>2021-03-10 15:33:16 -0800
commitfe2a6bb789e904520797ec229272c6c1a42e7e38 (patch)
treecedcaf8be3521bf5e3b5ce92f2a8cb496f2615fc /docs/users/manifests.md
parent6ee0e916d34e45ea0b41b35c3fd8cfb7ce2455e9 (diff)
downloadvcpkg-fe2a6bb789e904520797ec229272c6c1a42e7e38.tar.gz
vcpkg-fe2a6bb789e904520797ec229272c6c1a42e7e38.zip
[host dependencies] add support in the scripts (#16627)
This contains all the docs and scripts changes from #16479, without any of the ports changes, for easier CR
Diffstat (limited to 'docs/users/manifests.md')
-rw-r--r--docs/users/manifests.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/users/manifests.md b/docs/users/manifests.md
index e9736e364..2ee64ec3e 100644
--- a/docs/users/manifests.md
+++ b/docs/users/manifests.md
@@ -323,6 +323,20 @@ automatically bootstrapped if missing and invoked to install your dependencies i
All vcpkg-affecting variables must be defined before the first `project()` directive, such as via the command line or
`set()` statements.
+#### `VCPKG_TARGET_TRIPLET`
+
+This variable controls which triplet dependencies will be installed for.
+
+If unset, vcpkg will automatically detect an appropriate default triplet given the current compiler settings.
+
+#### `VCPKG_HOST_TRIPLET`
+
+This variable controls which triplet host dependencies will be installed for.
+
+If unset, vcpkg will automatically detect an appropriate native triplet (x64-windows, x64-osx, x64-linux).
+
+See also [Host Dependencies](host-dependencies.md).
+
#### `VCPKG_MANIFEST_MODE`
This variable controls whether vcpkg operates in manifest mode or in classic mode. To disable manifest mode even with a
@@ -443,6 +457,14 @@ This can be set to "false" to explicitly disable vcpkg integration for the proje
This can be set to a custom triplet to use for integration (such as x64-windows-static)
+#### `VcpkgHostTriplet` (Host Triplet)
+
+This can be set to a custom triplet to use for resolving host dependencies.
+
+If unset, this will default to the "native" triplet (x64-windows, x64-osx, x64-linux).
+
+See also [Host Dependencies](host-dependencies.md).
+
#### `VcpkgAdditionalInstallOptions` (Additional Options)
When using a manifest, this option specifies additional command line flags to pass to the underlying vcpkg tool