aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbuild2/context.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/libbuild2/context.cxx b/libbuild2/context.cxx
index 36b70b8..c016a40 100644
--- a/libbuild2/context.cxx
+++ b/libbuild2/context.cxx
@@ -167,6 +167,17 @@ namespace build2
//
set ("build.verbosity", uint64_t (verb));
+ // Build system progress diagnostics.
+ //
+ // Note that it can be true, false, or NULL if progress was neither
+ // requested nor suppressed.
+ //
+ {
+ value& v (gs.assign (vp.insert<bool> ("build.progress", v_g)));
+ if (diag_progress_option)
+ v = *diag_progress_option;
+ }
+
// Build system version (similar to what we do in the version module
// except here we don't include package epoch/revision).
//