diff options
author | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2014-11-05 16:50:37 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2014-11-07 11:28:35 +0100 |
commit | bd3764d42ed06769ce854f974c6e448ea3263e87 (patch) | |
tree | ee0dda2d66a33f58ca912ef7c89922c444622500 /src/lib/corelib/buildgraph/executorjob.cpp | |
parent | 842ae64080f33366715c390a5f3b338ea8dd5ff2 (diff) |
add option to show command lines in build output
With "qbs build --show-command-lines" one can suppress
command descriptions and show actual command lines instead.
Change-Id: I98328254bad7fb85036abb0525c5ad7e734110c7
Task-number: QBS-615
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/lib/corelib/buildgraph/executorjob.cpp')
-rw-r--r-- | src/lib/corelib/buildgraph/executorjob.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/corelib/buildgraph/executorjob.cpp b/src/lib/corelib/buildgraph/executorjob.cpp index abd2102c2..15a549332 100644 --- a/src/lib/corelib/buildgraph/executorjob.cpp +++ b/src/lib/corelib/buildgraph/executorjob.cpp @@ -78,6 +78,11 @@ void ExecutorJob::setDryRun(bool enabled) m_jsCommandExecutor->setDryRunEnabled(enabled); } +void ExecutorJob::setShowCommandLines(bool enabled) +{ + m_processCommandExecutor->setShowCommandLines(enabled); +} + void ExecutorJob::run(Transformer *t) { QBS_ASSERT(m_currentCommandIdx == -1, return); |