aboutsummaryrefslogtreecommitdiff
path: root/build/scope
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-03-20 13:21:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-03-20 13:21:18 +0200
commiteaaa82bd9c1e24a83dcea3857f5fd75d0dfb6de5 (patch)
tree9d849682e5c8fb971382843064ea0c286d753cba /build/scope
parentb6e72877a1a26a6ae16961728ee57e45f657f717 (diff)
New consolidated load/match/build loop
Diffstat (limited to 'build/scope')
-rw-r--r--build/scope8
1 files changed, 7 insertions, 1 deletions
diff --git a/build/scope b/build/scope
index f86d0ed..e74c7bc 100644
--- a/build/scope
+++ b/build/scope
@@ -13,6 +13,7 @@
#include <build/path-map>
#include <build/variable>
#include <build/prerequisite>
+#include <build/operation>
namespace build
{
@@ -53,13 +54,18 @@ namespace build
variable_map variables;
prerequisite_set prerequisites;
+ // Meta/operations supported by this project (set on the project
+ // root scope only).
+ //
+ meta_operation_table meta_operations;
+ operation_table operations;
+
// Set of buildfiles already loaded for this scope. The included
// buildfiles are checked against project root scope while
// imported -- against the overall root scope (root_scope).
//
std::unordered_set<path_type> buildfiles;
-
// A map of buildfiles to trigger functions that are executed when
// such files are sourced. The path is is assumed to be relative to
// the src directory corresponding to this scope.