forked from qt-creator/qt-creator
Readding MakeSteps to the clean step list should set them up correctly
That is set the argument to "clean" and ensure that the return value is ignored. Change-Id: I1f15ad464e6f4608d7eb698365846a4c765f1d22 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com> Reviewed-by: Andre Hartmann <aha_1980@gmx.de>
This commit is contained in:
@@ -447,7 +447,12 @@ ProjectExplorer::BuildStep *MakeStepFactory::create(ProjectExplorer::BuildStepLi
|
||||
{
|
||||
if (!canCreate(parent, id))
|
||||
return 0;
|
||||
return new MakeStep(parent);
|
||||
MakeStep *step = new MakeStep(parent);
|
||||
if (parent->id() == ProjectExplorer::Constants::BUILDSTEPS_CLEAN) {
|
||||
step->setClean(true);
|
||||
step->setUserArguments("clean");
|
||||
}
|
||||
return step;
|
||||
}
|
||||
|
||||
bool MakeStepFactory::canClone(ProjectExplorer::BuildStepList *parent, ProjectExplorer::BuildStep *source) const
|
||||
|
||||
Reference in New Issue
Block a user