aboutsummaryrefslogtreecommitdiff
path: root/build/cxx/rule.cxx
AgeCommit message (Collapse)AuthorFilesLines
2015-03-27Rework dependency state dump supportBoris Kolpackov1-4/+4
We now have a combined (scopes, variables, and targets) dump.
2015-03-25Configure/disfigure src_root saving/removing support; fsdir{} injectionBoris Kolpackov1-8/+19
We can now build out-of-tree.
2015-03-12Implement clean operationBoris Kolpackov1-21/+63
2015-03-10Further operation implementationBoris Kolpackov1-19/+19
2015-03-04Move roots and bases to appropriate scopesBoris Kolpackov1-6/+23
2015-03-02Clean up clang warningsBoris Kolpackov1-3/+3
2015-02-23Rename "select" to "apply"Boris Kolpackov1-3/+3
2015-02-23Redo rule match/build logicBoris Kolpackov1-148/+99
Now the rule is fully responsible for searching, matching, and building of prerequisites.
2015-02-20Rename 'directory' to 'dir' in target, prerequisiteBoris Kolpackov1-6/+6
2015-02-20Rework extension handling logicBoris Kolpackov1-0/+4
We no longer support hxx{vector.}. Rather, the target type can decide, e.g., based on a config variable, whether to append an extension. Also, in the future we may support a syntax to specify that this is a complete name, e.g., hxx{'vector'}.
2015-01-20Diagnostic infrastructure revampBoris Kolpackov1-42/+34
2015-01-16Implement rule chaining for cxx::linkBoris Kolpackov1-52/+159
2015-01-15Implement rule ambiguity detectionBoris Kolpackov1-2/+2
Also establish the infrastructure for rule hinting
2015-01-14Track file extension in target, prerequisiteBoris Kolpackov1-3/+24
2015-01-08Implement tracing supportBoris Kolpackov1-10/+46
Also use to-relative path translation in diagnostics.
2014-12-18Initial support for loading dependency info from buildfilesBoris Kolpackov1-33/+83
Also a new iteration on the overall architecture. Now, for the first time, build can read the buildfile and build itself. g++-4.9 -std=c++14 -g -I.. -o bd bd.cxx algorithm.cxx scope.cxx parser.cxx lexer.cxx target.cxx prerequisite.cxx rule.cxx native.cxx cxx/target.cxx cxx/rule.cxx process.cxx timestamp.cxx path.cxx g++-4.9 -std=c++14 -g -I../../.. -o driver driver.cxx ../../../build/lexer.cxx g++-4.9 -std=c++14 -g -I../../.. -o driver driver.cxx ../../../build/lexer.cxx ../../../build/parser.cxx ../../../build/scope.cxx ../../../build/target.cxx ../../../build/native.cxx ../../../build/prerequisite.cxx ../../../build/path.cxx ../../../build/timestamp.cxx
2014-12-11Improve diagnostics and error handlingBoris Kolpackov1-25/+30
g++-4.9 -std=c++14 -g -I.. -o bd bd.cxx target.cxx native.cxx rule.cxx cxx/rule.cxx cxx/target.cxx process.cxx timestamp.cxx path.cxx
2014-12-11Initial implementation of dependency injection (g++ -M output)Boris Kolpackov1-3/+143
2014-12-10Add rulesBoris Kolpackov1-0/+260
g++-4.9 -std=c++11 -g -I.. -o bd bd.cxx target.cxx native.cxx rule.cxx cxx/rule.cxx cxx/target.cxx process.cxx timestamp.cxx path.cxx