From 542ad9696f50e33fa20e735c14c052720c55bc3a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 23 Aug 2019 14:35:53 +0200 Subject: dry_run --- libbuild2/context.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libbuild2/context.cxx') diff --git a/libbuild2/context.cxx b/libbuild2/context.cxx index 1b1b9f6..c454123 100644 --- a/libbuild2/context.cxx +++ b/libbuild2/context.cxx @@ -50,9 +50,10 @@ namespace build2 }; context:: - context (scheduler& s, const strings& cmd_vars, bool kg) + context (scheduler& s, const strings& cmd_vars, bool dr, bool kg) : data_ (new data (*this)), sched (s), + dry_run_option (dr), keep_going (kg), phase_mutex (phase), scopes (data_->scopes), @@ -852,8 +853,6 @@ namespace build2 //text << this_thread::get_id () << " phase restore " << n << " " << o; } - bool dry_run = false; - void (*config_save_variable) (scope&, const variable&, uint64_t); const string& (*config_preprocess_create) (context&, -- cgit v1.1