aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-03-15 16:59:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-03-15 16:59:17 +0200
commit925d2d0eabe40517254380c5a12baa338b099d3e (patch)
tree2e4a0a58490fed8f64fdfff6e238d00fcd5d4720
parent9373e169c0d7908624e1eb108c8faae4818755ca (diff)
Add build.verbosity variable with -v/-V/--verbose value
-rw-r--r--build2/context.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/build2/context.cxx b/build2/context.cxx
index c055035..e4e7054 100644
--- a/build2/context.cxx
+++ b/build2/context.cxx
@@ -268,6 +268,10 @@ namespace build2
path (argv0.recall_string ()),
path (argv0.effect));
+ // Build system verbosity level.
+ //
+ gs.assign<uint64_t> ("build.verbosity") = verb;
+
// Build system version.
//
{