From eaaa82bd9c1e24a83dcea3857f5fd75d0dfb6de5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 20 Mar 2015 13:21:18 +0200 Subject: New consolidated load/match/build loop --- build/scope | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'build/scope') diff --git a/build/scope b/build/scope index f86d0ed..e74c7bc 100644 --- a/build/scope +++ b/build/scope @@ -13,6 +13,7 @@ #include #include #include +#include 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 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. -- cgit v1.1