aboutsummaryrefslogtreecommitdiff
path: root/build2/b.cli
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-09-15 19:28:08 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-09-17 15:35:13 +0300
commit9298908b00c1977fcce5a3ac8e29e982cc28c97f (patch)
treed84e999bbda0cca6566df7462255261c9c88840c /build2/b.cli
parent131c8cb4424c475bbdaf41912ba1ca66869322de (diff)
Add support for BUILD2_VAR_OVR and BUILD2_DEF_OPT environment variables
Diffstat (limited to 'build2/b.cli')
-rw-r--r--build2/b.cli9
1 files changed, 8 insertions, 1 deletions
diff --git a/build2/b.cli b/build2/b.cli
index 31247f9..57640b6 100644
--- a/build2/b.cli
+++ b/build2/b.cli
@@ -692,5 +692,12 @@ namespace build2
value is used to shorten paths printed in diagnostics by replacing the home
directory with \cb{~/}. It is also made available to \cb{buildfile}'s as the
\cb{build.home} variable.
- "
+
+ The \cb{BUILD2_VAR_OVR} environment variable is used to propagate global
+ variable overrides to nested build system driver invocations. Its value is a
+ list of global variable assignments separated with newlines.
+
+ The \cb{BUILD2_DEF_OPT} environment variable is used to suppress loading of
+ default options files in nested build system driver invocations. Its values
+ are \cb{false} or \cb{0} to suppress and \cb{true} or \cb{1} to load."
}