aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/tools/preferences.h
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@petroules.com>2015-02-19 20:51:15 -0800
committerJake Petroules <jake.petroules@petroules.com>2015-02-25 15:40:32 +0000
commit64cbb7c8cd0c5b4dacad94a88464f8c3b2e59fc1 (patch)
tree905c7d40d52d80424b9bf32332241d41f04f492e /src/lib/corelib/tools/preferences.h
parent6c9de0488a8fcee5e88c00d1df07f9c11e8bacfc (diff)
Replace --show-command-lines with --command-echo-mode.
This allows users to hide command output entirely without changing the logging level. It is also used by the generator command to hide the dry run command "executions" it performs when creating the build graph for project generation. Change-Id: I27a64c8138521001f5b62473b4a3b4ff46d8ba25 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'src/lib/corelib/tools/preferences.h')
-rw-r--r--src/lib/corelib/tools/preferences.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/corelib/tools/preferences.h b/src/lib/corelib/tools/preferences.h
index f4f89c7d3..19a2a3010 100644
--- a/src/lib/corelib/tools/preferences.h
+++ b/src/lib/corelib/tools/preferences.h
@@ -32,6 +32,8 @@
#include "qbs_export.h"
+#include "commandechomode.h"
+
#include <QStringList>
#include <QVariant>
@@ -47,6 +49,7 @@ public:
int jobs() const;
QString shell() const;
QString defaultBuildDirectory() const;
+ CommandEchoMode defaultEchoMode() const;
QStringList searchPaths(const QString &baseDir = QString()) const;
QStringList pluginPaths(const QString &baseDir = QString()) const;