diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-07 09:18:22 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-07 09:18:22 +0200 |
commit | 49d5628e35593a5300d39596286c768d7aa435b6 (patch) | |
tree | 43f20983a381c54aac7536e78e4f9543d8761aac /build/rule.cxx | |
parent | 16c19b739a58845af7f807c3dee8021a1c421006 (diff) |
Rework module architecture
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.
Diffstat (limited to 'build/rule.cxx')
-rw-r--r-- | build/rule.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/build/rule.cxx b/build/rule.cxx index a8c77a8..eadbecb 100644 --- a/build/rule.cxx +++ b/build/rule.cxx @@ -10,6 +10,7 @@ #include <butl/filesystem> #include <build/scope> +#include <build/target> #include <build/algorithm> #include <build/diagnostics> #include <build/context> @@ -19,8 +20,6 @@ using namespace butl; namespace build { - operation_rule_map rules; - // file_rule // // Note that this rule is special. It is the last, fallback rule. If |