aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/context.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-02-11 12:05:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-02-11 12:05:19 +0200
commit5278e39d58007b730e452a14d8e13aa93118e9f4 (patch)
tree18e1e2fe0a3cac3adf6c74c4e8118e89c59a8ed2 /libbuild2/context.cxx
parent364159d8d024a783db44cb0a5b81e94f87f10ef4 (diff)
Add match_only flag to context
Diffstat (limited to 'libbuild2/context.cxx')
-rw-r--r--libbuild2/context.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbuild2/context.cxx b/libbuild2/context.cxx
index de8c097..4082e0c 100644
--- a/libbuild2/context.cxx
+++ b/libbuild2/context.cxx
@@ -56,6 +56,7 @@ namespace build2
context::
context (scheduler& s,
global_mutexes& ms,
+ bool mo,
bool dr,
bool kg,
const strings& cmd_vars,
@@ -64,6 +65,7 @@ namespace build2
: data_ (new data (*this)),
sched (s),
mutexes (ms),
+ match_only (mo),
dry_run_option (dr),
keep_going (kg),
phase_mutex (*this),