diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-22 14:38:57 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-23 18:14:07 +0200 |
commit | 5035f4ef68922ac758b1e4734e67d73c9228010b (patch) | |
tree | 271fdd5b1d6e995a058d97aacb3ac90a538d9ff1 /libbuild2/utility.cxx | |
parent | 8793941652d6aa1c3d02b2f87f691e6d06254b7d (diff) |
Introduce notion of build context
All non-const global state is now in class context and we can now have
multiple independent builds going on at the same time.
Diffstat (limited to 'libbuild2/utility.cxx')
-rw-r--r-- | libbuild2/utility.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libbuild2/utility.cxx b/libbuild2/utility.cxx index 63fa609..ba50c5a 100644 --- a/libbuild2/utility.cxx +++ b/libbuild2/utility.cxx @@ -81,7 +81,6 @@ namespace build2 : (to_string (build_version.major ()) + '.' + to_string (build_version.minor ()))); - bool dry_run_option; optional<bool> mtime_check_option; optional<path> config_sub; @@ -495,15 +494,14 @@ namespace build2 void init (void (*t) (bool), const char* a0, - bool kg, bool dr, optional<bool> mc, - optional<path> cs, optional<path> cg) + optional<bool> mc, + optional<path> cs, + optional<path> cg) { terminate = t; argv0 = process::path_search (a0, true); - keep_going = kg; - dry_run_option = dr; mtime_check_option = mc; config_sub = move (cs); |