From ca41ca8f9a6b21588248e5fee1a013363f3f52a8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 13 Mar 2015 14:34:24 +0200 Subject: Add support for "first" and "last" execution modes --- build/context | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'build/context') diff --git a/build/context b/build/context index 7c7421d..2e3209a 100644 --- a/build/context +++ b/build/context @@ -9,6 +9,8 @@ #include #include +#include +#include namespace build { @@ -17,6 +19,11 @@ namespace build extern path work; extern path home; + // Current action (meta/operation). + // + extern execution_mode current_mode; + extern const target_rule_map* current_rules; + // Return the src/out directory corresponding to the given out/src. The // passed directory should be a sub-directory of out/src_root. // -- cgit v1.1