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 "ibconsolebuildstep.h"
|
||||
|
||||
#include "commandbuilder.h"
|
||||
#include "commandbuilderaspect.h"
|
||||
#include "incredibuildconstants.h"
|
||||
|
||||
@@ -132,9 +131,7 @@ bool IBConsoleBuildStep::init()
|
||||
if (m_forceRemote->value())
|
||||
args.append("--force-remote");
|
||||
|
||||
CommandBuilder *commandBuilder = m_commandBuilder->commandBuilder();
|
||||
commandBuilder->keepJobNum(m_keepJobNum->value());
|
||||
args.append(commandBuilder->fullCommandFlag());
|
||||
args.append(m_commandBuilder->fullCommandFlag(m_keepJobNum->value()));
|
||||
|
||||
CommandLine cmdLine("ib_console", args);
|
||||
ProcessParameters *procParams = processParameters();
|
||||
|
||||
Reference in New Issue
Block a user