diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2018-03-09 14:47:10 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2018-03-12 08:11:46 +0000 |
commit | c6f0044d74fc6cbf6076d1f1c80b179a8067e387 (patch) | |
tree | 6a2cc1e73c74810a7d088a67dad87eefa5414628 /src/lib/corelib/buildgraph/abstractcommandexecutor.h | |
parent | b608f25a930710dc146e9e4ed99104be36de1024 (diff) |
Add product name to command descriptions
The pure file name that the description usually contains does not always
provide enough context: It's not necessarily clear from a file name
which product it belongs to, and some files can be built as part of more
than one product.
Because we print the full product name, including the multiplexing
information if necessary, we also remove the JS code that provided this
kind of disambiguation for GCC compiler and linker rules only.
[ChangeLog] Command descriptions now also contain the product name.
Change-Id: I9702a6cff3faffb086e5c93e02fffa6e65fb1043
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/lib/corelib/buildgraph/abstractcommandexecutor.h')
-rw-r--r-- | src/lib/corelib/buildgraph/abstractcommandexecutor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/buildgraph/abstractcommandexecutor.h b/src/lib/corelib/buildgraph/abstractcommandexecutor.h index 94ac15afc..f140b5d82 100644 --- a/src/lib/corelib/buildgraph/abstractcommandexecutor.h +++ b/src/lib/corelib/buildgraph/abstractcommandexecutor.h @@ -73,7 +73,7 @@ signals: void finished(const qbs::ErrorInfo &err = ErrorInfo()); // !hasError() <=> command successful protected: - virtual void doReportCommandDescription(); + virtual void doReportCommandDescription(const QString &productName); AbstractCommand *command() const { return m_command; } Transformer *transformer() const { return m_transformer; } ScriptEngine *scriptEngine() const { return m_mainThreadScriptEngine; } |