diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-09-10 23:01:02 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-09-11 21:32:58 +0300 |
commit | 8604b4b98a5fc587129ab8155c546fc45efe62ff (patch) | |
tree | d5bbfef7c6433e7b800f9930f156ad17f117ea7d /build2/b.cli | |
parent | 94ca5f5d6fc47b1b08833b15dfb06df4d02757e1 (diff) |
Add support for default global variable overrides
Diffstat (limited to 'build2/b.cli')
-rw-r--r-- | build2/b.cli | 3 |
1 files changed, 2 insertions, 1 deletions
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 |