From d71ad4800bd5023f1452200af6c29832673892dc Mon Sep 17 00:00:00 2001 From: Don Date: Thu, 28 Mar 2019 14:34:26 -0700 Subject: Allow additional environment variables to be set in a clean environment (#5650) * Allow additional environment variables to be set in a clean environment * Add documentation for VCPKG_KEEP_ENV_VARS --- docs/users/config-environment.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs') diff --git a/docs/users/config-environment.md b/docs/users/config-environment.md index f25df89a3..bffa07278 100644 --- a/docs/users/config-environment.md +++ b/docs/users/config-environment.md @@ -40,3 +40,10 @@ This environment variable can be set to a triplet name which will be used for un #### VCPKG_FORCE_SYSTEM_BINARIES This environment variable, if set, suppresses the downloading of CMake and Ninja and forces the use of the system binaries. + +### VCPKG_KEEP_ENV_VARS + +This environment variable can be set to a list of environment variables, separated by `;`, which will be propagated to +the build environment. + +Example: `FOO_SDK_DIR;BAR_SDK_DIR` -- cgit v1.2.3