aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/config/functions.cxx
AgeCommit message (Collapse)AuthorFilesLines
2022-05-20Make $config.origin() also available internally as config::origin()Boris Kolpackov1-28/+10
2022-05-11Add $config.origin() functionBoris Kolpackov1-0/+70
This function can be used to query the origin of a configuration variable value. The result is one of `undefined`, `default`, `buildfile`, or `override`.
2022-04-19Switch to using std::function for target::data_padBoris Kolpackov1-1/+4
2021-04-04Add base functionality for hermetic build configurationshermeticBoris Kolpackov1-0/+7
2020-12-04Mark Buildfile functions as pure or impureBoris Kolpackov1-1/+3
2020-02-07Drop copyright notice from source codeKaren Arutyunov1-1/+0
2019-11-12Rename config.{import,export} to config.config.{load,save}Boris Kolpackov1-5/+5
Also rename the $config.export() function to $config.save().
2019-11-12Rename config.module to config.config.moduleBoris Kolpackov1-2/+2
The old name was an accidental land-grab.
2019-11-07Initial work on path_name use for `-` to stdin/stdout translationBoris Kolpackov1-1/+4
2019-11-04Add $config.export() functionBoris Kolpackov1-0/+52
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.