aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/options.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-11-21 14:47:38 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-11-21 21:07:43 +0000
commitf30dfc1e68ca48c332ca11e6c6c2d4d167fb978e (patch)
tree1c22e246664c712fc4fbaaa8cc8a273aa7c662a7 /build_scripts/options.py
parentf997b9aff5e0b4dcc67438bc6727c202d680b6eb (diff)
Build scripts: Implement --quiet
Add a _verbose setting to the utils module and set it depending on option --quiet. Depending on this, suppress the messages about copying files, shortening the build log by over 1000 lines. Change-Id: I3f9abce3b145d43c4fe615f624ca4e2769a269f8 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'build_scripts/options.py')
-rw-r--r--build_scripts/options.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/build_scripts/options.py b/build_scripts/options.py
index 2d47bcca5..3a5caf392 100644
--- a/build_scripts/options.py
+++ b/build_scripts/options.py
@@ -171,6 +171,7 @@ OPTION_MODULE_SUBSET = option_value("module-subset")
OPTION_RPATH_VALUES = option_value("rpath")
OPTION_QT_CONF_PREFIX = option_value("qt-conf-prefix")
OPTION_QT_SRC = option_value("qt-src-dir")
+OPTION_QUIET = has_option('quiet')
OPTION_VERBOSE_BUILD = has_option("verbose-build")
OPTION_SANITIZE_ADDRESS = has_option("sanitize-address")
OPTION_SNAPSHOT_BUILD = has_option("snapshot-build")