diff options
author | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-11-13 12:19:35 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-11-16 14:04:59 +0000 |
commit | 79f82d0d0ae9fffb4daebdc10bc1abe1761b99e1 (patch) | |
tree | 3ea76f0fada59fb3203240e8a05d39661cf62464 /src/plugins/genericprojectmanager/genericmakestep.cpp | |
parent | cedf015c10cae35738ff7651389c660f101d0e98 (diff) | |
download | qt-creator-79f82d0d0ae9fffb4daebdc10bc1abe1761b99e1.tar.gz |
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>
Diffstat (limited to 'src/plugins/genericprojectmanager/genericmakestep.cpp')
-rw-r--r-- | src/plugins/genericprojectmanager/genericmakestep.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/genericprojectmanager/genericmakestep.cpp b/src/plugins/genericprojectmanager/genericmakestep.cpp index a96a9face8..100c6328a7 100644 --- a/src/plugins/genericprojectmanager/genericmakestep.cpp +++ b/src/plugins/genericprojectmanager/genericmakestep.cpp @@ -94,7 +94,7 @@ void GenericMakeStep::ctor() GENERIC_MS_DISPLAY_NAME)); } -bool GenericMakeStep::init() +bool GenericMakeStep::init(QList<const BuildStep *> &earlierSteps) { BuildConfiguration *bc = buildConfiguration(); if (!bc) @@ -134,7 +134,7 @@ bool GenericMakeStep::init() appendOutputParser(parser); outputParser()->setWorkingDirectory(pp->effectiveWorkingDirectory()); - return AbstractProcessStep::init(); + return AbstractProcessStep::init(earlierSteps); } void GenericMakeStep::setClean(bool clean) |