aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/config/utility.cxx
AgeCommit message (Collapse)AuthorFilesLines
2021-09-20Assign pre-defined semantics to config.<project>.develop variablesBoris Kolpackov1-2/+2
This variable allows a project to distinguish between development and consumption builds. While normally there is no distinction between these two modes, sometimes a project may need to provide additional functionality during development. For example, a source code generator which uses its own generated code in its implementation may need to provide a bootstrap step from the pre-generated code. Normally, such a step is only needed during development. See "Project Configuration" in the manual for details.
2021-04-07Register environment variables for hermetic build configurationsBoris Kolpackov1-0/+1
2020-12-02Fix bug in config utilityBoris Kolpackov1-2/+3
2020-09-24Add ability to ignore extra variables in specified_config()Boris Kolpackov1-7/+21
2020-08-18Add ability to mark config.* variables as "unsaved" (always transient)Boris Kolpackov1-1/+1
2020-08-16Add support for post-configure and pre-disfigure hooksBoris Kolpackov1-0/+3
2020-03-19Tweak lookup_config() semantics some moreBoris Kolpackov1-3/+25
2020-03-18Pattern-type config.** variables with global visibility by defaultBoris Kolpackov1-2/+2
2020-03-17Rename all find*(variable) to lookup*(variable)Boris Kolpackov1-3/+3
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-14/+3
2020-03-13Cleanup and make config/utility.?xx part of build system coreBoris Kolpackov1-173/+7
2020-03-11Minor config variable lookup cleanupsBoris Kolpackov1-2/+1
2020-02-07Drop copyright notice from source codeKaren Arutyunov1-1/+0
2020-01-28Use scope::var_pool()Boris Kolpackov1-3/+3
2020-01-27Improve module loading APIBoris Kolpackov1-2/+2
2019-11-14Make use of butl::to_stream(ostream, path, bool)Karen Arutyunov1-1/+4
2019-11-07Initial work on path_name use for `-` to stdin/stdout translationBoris Kolpackov1-3/+3
2019-11-04Add $config.export() functionBoris Kolpackov1-30/+18
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-08-23Introduce notion of build contextBoris Kolpackov1-9/+9
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-07-05Move config, dist, test, and install modules into libraryKaren Arutyunov1-0/+307