aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlexander Neumann <30894796+Neumann-A@users.noreply.github.com>2020-03-28 04:19:53 +0100
committerGitHub <noreply@github.com>2020-03-27 20:19:53 -0700
commitaeffa625e55eea41a86a728c14a95d05bc3de0e9 (patch)
treebac415cdf3679c1bf8122cd7a614af05302f9e96 /docs
parentcd4c0661161bb14b1d401a378fc1326c400a454c (diff)
downloadvcpkg-aeffa625e55eea41a86a728c14a95d05bc3de0e9.tar.gz
vcpkg-aeffa625e55eea41a86a728c14a95d05bc3de0e9.zip
[vcpkg] Add the possibility to load vcvars.bat with external toolchain. (#10399)
* Add VCPKG_LOAD_VCVARS_ENV allow loading vcvars.bat if an external toolchain file is used. * add documentation
Diffstat (limited to 'docs')
-rw-r--r--docs/users/triplets.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/users/triplets.md b/docs/users/triplets.md
index 21dea5c31..080475651 100644
--- a/docs/users/triplets.md
+++ b/docs/users/triplets.md
@@ -125,6 +125,10 @@ Valid settings:
* The Visual Studio 2017 platform toolset is `v141`.
* The Visual Studio 2015 platform toolset is `v140`.
+### VCPKG_LOAD_VCVARS_ENV
+If `VCPKG_CHAINLOAD_TOOLCHAIN_FILE` is used, VCPKG will not setup the Visual Studio environment.
+Setting `VCPKG_LOAD_VCVARS_ENV` to (true|1|on) changes this behavior so that the Visual Studio environment is setup following the same rules as if `VCPKG_CHAINLOAD_TOOLCHAIN_FILE` was not set.
+
## MacOS Variables
### VCPKG_INSTALL_NAME_DIR