aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/config/utility.txx
AgeCommit message (Collapse)AuthorFilesLines
2022-06-03Reset value::extra on variable_map value change/version incrementBoris Kolpackov1-1/+1
The reset on each modification semantics is used to implement the default value distinction as currently done in the config module but later probably will be done for ?= and $origin().
2020-03-17Rename all find*(variable) to lookup*(variable)Boris Kolpackov1-2/+2
Now we consistently use term "lookup" for variable value lookup. At some point we should also rename type lookup to binding and get rid of all the lookup_type aliases.
2020-03-17Rework config::{omitted,required,optional}() into unified config_lookup()Boris Kolpackov1-6/+33
2020-03-13Cleanup and make config/utility.?xx part of build system coreBoris Kolpackov1-3/+0
2020-03-11Minor config variable lookup cleanupsBoris Kolpackov1-11/+11
2020-02-07Drop copyright notice from source codeKaren Arutyunov1-1/+0
2019-11-04Add $config.export() functionBoris Kolpackov1-2/+1
This is similar to the config.export variable functionality except it can be called from within buildfiles. Note that this function can only be used during configure unless the config module creation was forced for other meta-operations with config.module=true in bootstrap.build.
2019-10-18Optimize config::required() to move default value if possibleBoris Kolpackov1-2/+2
2019-08-23Introduce notion of build contextBoris Kolpackov1-1/+1
All non-const global state is now in class context and we can now have multiple independent builds going on at the same time.
2019-08-21Cleanup context.hxx and its usageBoris Kolpackov1-1/+1
2019-07-24Use CLI-generated classes to parse testscript builtin optionsKaren Arutyunov1-1/+1
2019-07-05Move config, dist, test, and install modules into libraryKaren Arutyunov1-0/+66