From 8604b4b98a5fc587129ab8155c546fc45efe62ff Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 10 Sep 2020 23:01:02 +0300 Subject: Add support for default global variable overrides --- build2/b.cli | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build2/b.cli') diff --git a/build2/b.cli b/build2/b.cli index 7566418..31247f9 100644 --- a/build2/b.cli +++ b/build2/b.cli @@ -659,7 +659,8 @@ namespace build2 The default options files for the build system driver are called \cb{b.options} and are searched for in the \cb{.build2/} subdirectory of the home directory and in the system directory (for example, \cb{/etc/build2/}) - if configured. + if configured. Note that besides options these files can also contain global + variable overrides. Once the search is complete, the files are loaded in the reverse order, that is, beginning from the system directory (if any), followed by the home -- cgit v1.1