aboutsummaryrefslogtreecommitdiff
path: root/build/cli/target.cxx
AgeCommit message (Collapse)AuthorFilesLines
2016-01-05Rename build directory/namespace to build2Boris Kolpackov1-77/+0
2015-12-02Redo extension derivation for file{}, doc{}, and cli{}Boris Kolpackov1-2/+4
We now first check the 'extension' variable, then use the default.
2015-12-01Reimplement define as dynamic derivation rather than aliasBoris Kolpackov1-6/+2
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-3/+5
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-21Improve nested operations supportBoris Kolpackov1-1/+1
The idea is this: we need to be able to override "conditional, inner for outer" recipes with the "unconditional inner" ones. Here is the concrete scenario: we have {update, test} action and the lib{} target that is both mentioned as a prerequisite of ./ and exe{}, which is a test. At first, we want to ignore lib{} when reached as a prerequisite of ./. But then we get to it via exe{} (which is a test and thus should be updated). At this point we should override the recipe for lib{} with the one that would update it rather than ignore.
2015-07-02Various improvements to cli moduleBoris Kolpackov1-4/+4
2015-07-02Make few existing file searching optimizationsBoris Kolpackov1-1/+18
2015-07-01Get rid of accessors/modifiers in cli.cxx targetBoris Kolpackov1-3/+3
2015-07-01Clean up group state, mtime designBoris Kolpackov1-1/+13
2015-07-01Cleanup group "see through" designBoris Kolpackov1-4/+6
2015-06-24First take on the cli module plus necessary infrastructureBoris Kolpackov1-0/+46