diff options
Diffstat (limited to 'build/scope')
-rw-r--r-- | build/scope | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/build/scope b/build/scope index 1608be7..2975fd0 100644 --- a/build/scope +++ b/build/scope @@ -108,23 +108,6 @@ namespace build // std::unordered_set<path_type> buildfiles; - // A map of absolute and normalized buildfile paths to trigger - // functions that are executed when such files are sourced. The - // trigger is called twice: the first time before sourcing the - // file (pre is true) and the second time -- after (pre is false). - // - // The passed path is the buildfile, which can be altered by the - // trigger in the pre call, if desired. If the returned value is - // true, then the file is sourced. If false -- the file is ignored - // (and no post call is made). The return value is ignored in the - // post call. - // - // Note that currently triggers can only be registered on the - // project's root scope. - // - using trigger_type = std::function<bool (bool pre, scope&, path_type&)>; - std::unordered_map<path_type, trigger_type> triggers; - private: friend class scope_map; friend class temp_scope; |