forked from qt-creator/qt-creator
QbsProjectManager: Consider "force probes" setting
...in the "equivalent command line" widget. Change-Id: Id0b4758b49848a313b5a938c66be5ce4c99ef550 Reviewed-by: Jake Petroules <jake.petroules@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
@@ -265,6 +265,8 @@ public:
|
|||||||
return m_qbsCleanStep->keepGoing();
|
return m_qbsCleanStep->keepGoing();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool forceProbeExecution() const { return m_qbsBuildStep && m_qbsBuildStep->forceProbes(); }
|
||||||
|
|
||||||
bool showCommandLines() const {
|
bool showCommandLines() const {
|
||||||
return m_qbsBuildStep ? m_qbsBuildStep->showCommandLines() : false;
|
return m_qbsBuildStep ? m_qbsBuildStep->showCommandLines() : false;
|
||||||
}
|
}
|
||||||
@@ -328,6 +330,8 @@ QString QbsBuildConfiguration::equivalentCommandLine(const BuildStep *buildStep)
|
|||||||
Utils::QtcProcess::addArg(&commandLine, QLatin1String("--dry-run"));
|
Utils::QtcProcess::addArg(&commandLine, QLatin1String("--dry-run"));
|
||||||
if (stepProxy.keepGoing())
|
if (stepProxy.keepGoing())
|
||||||
Utils::QtcProcess::addArg(&commandLine, QLatin1String("--keep-going"));
|
Utils::QtcProcess::addArg(&commandLine, QLatin1String("--keep-going"));
|
||||||
|
if (stepProxy.forceProbeExecution())
|
||||||
|
Utils::QtcProcess::addArg(&commandLine, QLatin1String("--force-probe-execution"));
|
||||||
if (stepProxy.showCommandLines())
|
if (stepProxy.showCommandLines())
|
||||||
Utils::QtcProcess::addArgs(&commandLine, QStringList({"--command-echo-mode",
|
Utils::QtcProcess::addArgs(&commandLine, QStringList({"--command-echo-mode",
|
||||||
"command-line"}));
|
"command-line"}));
|
||||||
|
|||||||
Reference in New Issue
Block a user