From 9298908b00c1977fcce5a3ac8e29e982cc28c97f Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 15 Sep 2020 19:28:08 +0300 Subject: Add support for BUILD2_VAR_OVR and BUILD2_DEF_OPT environment variables --- build2/b.cli | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'build2/b.cli') 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." } -- cgit v1.1