From 49d5628e35593a5300d39596286c768d7aa435b6 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 7 Jul 2015 09:18:22 +0200 Subject: 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. --- build/rule | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'build/rule') diff --git a/build/rule b/build/rule index eda6ed3..fbcf06b 100644 --- a/build/rule +++ b/build/rule @@ -7,11 +7,6 @@ #include #include // nullptr_t -#include -#include // reference_wrapper -#include - -#include #include #include @@ -56,14 +51,6 @@ namespace build apply (action, target&, const match_result&) const = 0; }; - using target_rule_map = std::unordered_map< - std::type_index, - butl::prefix_map, '.'>>; - - using operation_rule_map = std::unordered_map; - - extern operation_rule_map rules; - // Fallback rule that on update verifies that the file exists and is // not older than any of its prerequisites. // -- cgit v1.1