forked from qt-creator/qt-creator
BuildManager: Provide context of earlier build steps to init
This information can be used to get information from earlier steps, which e.g. queried for android devices to deploy to. Change-Id: Iefe1c9443915cb6211f86f98ff7aaf3cb75145ba Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
This commit is contained in:
@@ -166,7 +166,7 @@ void ConfigureStep::ctor()
|
||||
setDefaultDisplayName(tr("Configure"));
|
||||
}
|
||||
|
||||
bool ConfigureStep::init()
|
||||
bool ConfigureStep::init(QList<const BuildStep *> &earlierSteps)
|
||||
{
|
||||
BuildConfiguration *bc = buildConfiguration();
|
||||
|
||||
@@ -178,7 +178,7 @@ bool ConfigureStep::init()
|
||||
pp->setArguments(additionalArguments());
|
||||
pp->resolveAll();
|
||||
|
||||
return AbstractProcessStep::init();
|
||||
return AbstractProcessStep::init(earlierSteps);
|
||||
}
|
||||
|
||||
void ConfigureStep::run(QFutureInterface<bool>& interface)
|
||||
|
||||
Reference in New Issue
Block a user