aboutsummaryrefslogtreecommitdiff
path: root/build2/scope
AgeCommit message (Collapse)AuthorFilesLines
2016-07-28Adjust to new path implementation, use to support reversibilityBoris Kolpackov1-1/+1
2016-07-16Add support for prepend/append in target type/pattern-specific varsBoris Kolpackov1-2/+4
Semantically, these are similar to variable overrides and are essentially treated as "templates" that are applied on lookup to the "stem" value that is specific to the target type/name. For example: x = [string] a file{f*}: x =+ b sub/: { file{*}: x += c print $(file{foo}:x) # abc print $(file{bar}:x) # ac }
2016-06-27Add config.bin.target var/hint, use to decide libso{} install modeBoris Kolpackov1-5/+5
Normally the user doesn't need to specify config.bin.target explicitly since the cxx module will hint it. We now also have the whole set of target's components: bin.target.{cpu,vendor,system,version,class}
2016-06-26Add notion of ad hoc group, use to handle DLL/import libraryBoris Kolpackov1-0/+14
2016-04-19Redesign src/out scopingBoris Kolpackov1-46/+16
We no longer enter paths from the src tree into scope map. Instead, targets from the src tree now include their out tree directory (in essence their "configuration"). This is then used to find a target's scope. See the comment in class target for details. The result of this change is that we can now again build multiple configurations (out trees) for same project at once.
2016-04-11Redo config inheritance logicBoris Kolpackov1-1/+1
2016-04-09Tweak override logic WRT location of overridden valueBoris Kolpackov1-9/+9
2016-04-04Implement value typing, null support via value attributesBoris Kolpackov1-1/+1
For example: v = [null] v = [string] abc v += ABC # abcABC
2016-04-02Add notion of lookup depth, fix bug with NULL overridesBoris Kolpackov1-7/+9
2016-04-01Get part of variable override implementationBoris Kolpackov1-3/+18
2016-03-31Clean up variable lookup interfacesBoris Kolpackov1-22/+23
2016-03-31Set part of variable override implementationBoris Kolpackov1-1/+4
2016-03-28New variable architectureBoris Kolpackov1-4/+1
2016-03-16Cleanup typed variable assignmentBoris Kolpackov1-4/+5
2016-02-12<types>/<utility> scheme cleanupBoris Kolpackov1-4/+3
2016-01-27Extract target from C++ compiler, set as cxx.host.{cpu,vendor,system,version}Boris Kolpackov1-1/+4
2016-01-09Update copyright yearBoris Kolpackov1-1/+1
2016-01-05Rename build directory/namespace to build2Boris Kolpackov1-0/+312