forked from qt-creator/qt-creator
ProjectExplorer: Settle on fixed set of build step lists
Even if the implementation allowed different lists than 'build' and 'clean', that's the only set that has been used, ever. If really needed, this could be re-instated, but for now having them fixed removes part of the neeed for a two-phase construction and helps to simplify user code. Change-Id: I3df09a1829a7d020ef8963d358ea80f8d199ba13 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -65,8 +65,6 @@ BuildConfiguration::BuildType NimbleBuildConfiguration::buildType() const
|
||||
|
||||
void NimbleBuildConfiguration::initialize()
|
||||
{
|
||||
BuildConfiguration::initialize();
|
||||
|
||||
m_buildType = initialBuildType();
|
||||
|
||||
setBuildDirectory(project()->projectDirectory());
|
||||
@@ -78,8 +76,7 @@ void NimbleBuildConfiguration::initialize()
|
||||
// // Don't add a nimble build step when the package has no binaries (i.e a library package)
|
||||
// if (!m_nimbleBuildSystem->metadata().bin.empty())
|
||||
// {
|
||||
BuildStepList *buildSteps = stepList(ProjectExplorer::Constants::BUILDSTEPS_BUILD);
|
||||
buildSteps->appendStep(new NimbleBuildStep(buildSteps));
|
||||
buildSteps()->appendStep(new NimbleBuildStep(buildSteps()));
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user