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:
@@ -174,7 +174,7 @@ bool MakeStep::fromMap(const QVariantMap &map)
|
||||
}
|
||||
|
||||
|
||||
bool MakeStep::init()
|
||||
bool MakeStep::init(QList<const BuildStep *> &earlierSteps)
|
||||
{
|
||||
CMakeBuildConfiguration *bc = cmakeBuildConfiguration();
|
||||
if (!bc)
|
||||
@@ -219,7 +219,7 @@ bool MakeStep::init()
|
||||
appendOutputParser(parser);
|
||||
outputParser()->setWorkingDirectory(pp->effectiveWorkingDirectory());
|
||||
|
||||
return AbstractProcessStep::init();
|
||||
return AbstractProcessStep::init(earlierSteps);
|
||||
}
|
||||
|
||||
void MakeStep::run(QFutureInterface<bool> &fi)
|
||||
|
||||
@@ -59,7 +59,7 @@ public:
|
||||
|
||||
CMakeBuildConfiguration *cmakeBuildConfiguration() const;
|
||||
|
||||
bool init() override;
|
||||
bool init(QList<const BuildStep *> &earlierSteps) override;
|
||||
|
||||
void run(QFutureInterface<bool> &fi) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user