aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/variable.hxx
AgeCommit message (Collapse)AuthorFilesLines
2021-07-23Reserve variable names/components that start with underscore to build2 coreBoris Kolpackov1-10/+13
2021-06-21Add support for automatic generation of symbol exporting .def fileBoris Kolpackov1-2/+1
2021-05-28Add support for regex-based target type/pattern specific variablesBoris Kolpackov1-4/+60
This is in addition to the already supported path-based target type/pattern specific variables. For example: hxx{*}: x = y # path-based hxx{~/.*/}: x = y # regex-based
2021-05-28Ban conversion of patterns to valuesBoris Kolpackov1-0/+2
Also improve conversion diagnostic.
2021-05-28Tie loose ends in target type/pattern-specific matchingBoris Kolpackov1-1/+1
2021-05-28Make notion of name pattern explicit, fix various related loose endsBoris Kolpackov1-2/+2
2021-04-20Detect environment changes in ad hoc recipesBoris Kolpackov1-2/+2
2021-04-04Add base functionality for hermetic build configurationshermeticBoris Kolpackov1-7/+12
2021-02-09Minor simplificationBoris Kolpackov1-1/+1
2021-01-30Add std::{map, multimap} to types.hxxBoris Kolpackov1-11/+10
Seeing that std::map is becoming a common Buildfile variable type.
2021-01-28Make std::map prepend (=+) overriding (like insert_or_assign())Boris Kolpackov1-5/+19
2021-01-22Add support for optional pair halves in variable valuesBoris Kolpackov1-31/+91
2020-11-11Make value_traits<bool>::convert() non-modifyingBoris Kolpackov1-1/+4
2020-08-24Add copying version of convert<T>(value)Boris Kolpackov1-0/+6
2020-08-12Add int64 and int64s variable typesBoris Kolpackov1-2/+34
2020-08-11Add another variable_pool::insert() overloadBoris Kolpackov1-0/+9
2020-06-09Make metadata variable prefix mandatoryBoris Kolpackov1-1/+4
While we could automatically set it if the target is imported, there is nothing we can do if the target is used in the same project. So to avoid confusion we make it mandatory.
2020-06-03Fix $process.run() to properly handle proces_path_exKaren Arutyunov1-4/+10
2020-06-03Get rid of remaining typedef'sBoris Kolpackov1-1/+1
2020-06-02Add process_path_ex with program stable name and checksumBoris Kolpackov1-2/+22
2020-04-30Verify path set by {src,out}-root.build files is absoluteBoris Kolpackov1-2/+2
2020-04-27Add support for untyped assignment to valueBoris Kolpackov1-1/+3
2020-03-31Switch to project variable visibility by defaultBoris Kolpackov1-26/+22
2020-03-19Tweak lookup_config() semantics some moreBoris Kolpackov1-4/+8
2020-03-18Cleanup variable type/visibility/overridability logicBoris Kolpackov1-8/+18
2020-03-18Add $visibility(<variable>) function for querying variable visibilityBoris Kolpackov1-2/+8
2020-03-17Rename all find*(variable) to lookup*(variable)Boris Kolpackov1-10/+12
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-12Minor comment improvementsBoris Kolpackov1-1/+1
2020-02-07Drop copyright notice from source codeKaren Arutyunov1-1/+0
2019-11-12Add support for vector<pair<K, V>> variable valuesBoris Kolpackov1-0/+30
2019-10-29Add forward declaration header for build state typesBoris Kolpackov1-6/+1
2019-10-22Rename global_mutex_shards to global_mutexesBoris Kolpackov1-4/+3
2019-10-22Move global mutex shards to contextBoris Kolpackov1-17/+12
2019-09-30Allow attributes in if-else, assert directive's conditionsBoris Kolpackov1-1/+2
2019-08-23Introduce notion of build contextBoris Kolpackov1-34/+54
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-01Split build system into library and driverBoris Kolpackov1-0/+1596