aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/context.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-10-28 08:16:50 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-10-28 08:16:50 +0200
commit6b06c5dc0f6a8e33ca0fbe98fd36522ca6f3432d (patch)
tree3cd8b3b24a86484a92a5be76ddfeb995725530da /libbuild2/context.hxx
parent6b9dbfaaf2b3dfdf3627b57c7f15c6a3cd105f35 (diff)
Add ability to disable diagnostics buffering (--no-diag-buffer)
Diffstat (limited to 'libbuild2/context.hxx')
-rw-r--r--libbuild2/context.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/libbuild2/context.hxx b/libbuild2/context.hxx
index 40a8bdd..c16181f 100644
--- a/libbuild2/context.hxx
+++ b/libbuild2/context.hxx
@@ -258,6 +258,10 @@ namespace build2
bool dry_run = false;
bool dry_run_option;
+ // Diagnostics buffering flag (--no-diag-buffer).
+ //
+ bool no_diag_buffer;
+
// Keep going flag.
//
// Note that setting it to false is not of much help unless we are running
@@ -644,6 +648,7 @@ namespace build2
bool match_only = false,
bool no_external_modules = false,
bool dry_run = false,
+ bool no_diag_buffer = false,
bool keep_going = true,
const strings& cmd_vars = {},
optional<context*> module_context = nullptr,