diff options
Diffstat (limited to 'libbuild2/context.hxx')
-rw-r--r-- | libbuild2/context.hxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libbuild2/context.hxx b/libbuild2/context.hxx index 59c70e3..dbf2329 100644 --- a/libbuild2/context.hxx +++ b/libbuild2/context.hxx @@ -110,6 +110,14 @@ namespace build2 public: scheduler& sched; + // Keep going flag. + // + // Note that setting it to false is not of much help unless we are running + // serially: in parallel we queue most of the things up before we see any + // failures. + // + bool keep_going; + // In order to perform each operation the build system goes through the // following phases: // @@ -326,7 +334,9 @@ namespace build2 public: explicit - context (scheduler&, const strings& cmd_vars = {}); + context (scheduler&, + const strings& cmd_vars = {}, + bool keep_going = true); // Set current meta-operation and operation. // @@ -471,16 +481,6 @@ namespace build2 bool phase; }; - - - // Keep going flag. - // - // Note that setting it to false is not of much help unless we are running - // serially. In parallel we queue most of the things up before we see any - // failures. - // - LIBBUILD2_SYMEXPORT extern bool keep_going; - // Dry run flag (see --dry-run|-n). // // This flag is set only for the final execute phase (as opposed to those |