aboutsummaryrefslogtreecommitdiff
path: root/build/target-type
AgeCommit message (Collapse)AuthorFilesLines
2015-12-01Reimplement define as dynamic derivation rather than aliasBoris Kolpackov1-33/+24
New syntax: define cli: file The rationale is we need to be able to assign the file extension (using type/pattern-specific variables). And if it is an alias, we will assign it to the original target type. Note that we could still support aliases if we need to. Will need to bring back the id member in target_type that would normally point to itself but for an alias would point to the origin.
2015-12-01Implement support for definition target type aliasesBoris Kolpackov1-9/+39
For example: define cli=file Currently, the semantics is that of a real alias with only name differences that are used for display. See tests/define/buildfile for more use cases.
2015-07-29Initial support for target type/pattern-specific variablesBoris Kolpackov1-0/+6
2015-07-07Rework module architectureBoris Kolpackov1-0/+70
Now the target type and rule maps are in scopes (builtins -- in global scope). We also now have the map of loaded modules in the root scope of each project.