forked from qt-creator/qt-creator
Generic Project: Add make argument "all" when re-adding a Build Step.
This makes adding a Build Step from the "Projects" configuration page consistent to the creation of a Generic Project via the Wizard. Change-Id: I6e947790fcd97795c29b4e0731ef8e2bff33767f Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
committed by
Daniel Teske
parent
90dc9ac5ec
commit
8bf072db97
@@ -332,6 +332,8 @@ ProjectExplorer::BuildStep *GenericMakeStepFactory::create(ProjectExplorer::Buil
|
|||||||
if (parent->id() == Core::Id(ProjectExplorer::Constants::BUILDSTEPS_CLEAN)) {
|
if (parent->id() == Core::Id(ProjectExplorer::Constants::BUILDSTEPS_CLEAN)) {
|
||||||
step->setClean(true);
|
step->setClean(true);
|
||||||
step->setBuildTarget("clean", /* on = */ true);
|
step->setBuildTarget("clean", /* on = */ true);
|
||||||
|
} else if (parent->id() == Core::Id(ProjectExplorer::Constants::BUILDSTEPS_BUILD)) {
|
||||||
|
step->setBuildTarget("all", /* on = */ true);
|
||||||
}
|
}
|
||||||
return step;
|
return step;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user