Commit 8bf072db authored by Andre Hartmann's avatar Andre Hartmann Committed by Daniel Teske
Browse files

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: default avatarDaniel Teske <daniel.teske@nokia.com>
parent 90dc9ac5
...@@ -332,6 +332,8 @@ ProjectExplorer::BuildStep *GenericMakeStepFactory::create(ProjectExplorer::Buil ...@@ -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;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment