forked from qt-creator/qt-creator
IncrediBuild: Rework CommandBuilder
Simplify interfaces. Also persist all command line settings, make overriding default arguments explicit. Change-Id: Ifb7e791dfc07ae9a88cfd769b9d21c5ee242e31d Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
|
||||
#include "buildconsolebuildstep.h"
|
||||
|
||||
#include "commandbuilder.h"
|
||||
#include "commandbuilderaspect.h"
|
||||
#include "incredibuildconstants.h"
|
||||
|
||||
@@ -317,10 +316,8 @@ bool BuildConsoleBuildStep::init()
|
||||
{
|
||||
QStringList args;
|
||||
|
||||
CommandBuilder *activeCommandBuilder = m_commandBuilder->commandBuilder();
|
||||
activeCommandBuilder->keepJobNum(m_keepJobNum->value());
|
||||
QString cmd("/Command= %0");
|
||||
cmd = cmd.arg(activeCommandBuilder->fullCommandFlag());
|
||||
cmd = cmd.arg(m_commandBuilder->fullCommandFlag(m_keepJobNum->value()));
|
||||
args.append(cmd);
|
||||
|
||||
if (!m_profileXml->value().isEmpty())
|
||||
|
||||
Reference in New Issue
Block a user