summaryrefslogtreecommitdiff
path: root/src/plugins/genericprojectmanager
diff options
context:
space:
mode:
authorAndre Hartmann <aha_1980@gmx.de>2012-06-04 16:56:52 +0200
committerDaniel Teske <daniel.teske@nokia.com>2012-06-04 17:33:16 +0200
commit8bf072db971b26fa3038ea9bf8896bc05aa95f52 (patch)
tree3162be8a4659da932046cd0224e92c37abf4a967 /src/plugins/genericprojectmanager
parent90dc9ac5eccdcb09c55ae7f97b5d1ecdd13201a2 (diff)
downloadqt-creator-8bf072db971b26fa3038ea9bf8896bc05aa95f52.tar.gz
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>
Diffstat (limited to 'src/plugins/genericprojectmanager')
-rw-r--r--src/plugins/genericprojectmanager/genericmakestep.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/genericprojectmanager/genericmakestep.cpp b/src/plugins/genericprojectmanager/genericmakestep.cpp
index 03175c3451..ad2b0b24ee 100644
--- a/src/plugins/genericprojectmanager/genericmakestep.cpp
+++ b/src/plugins/genericprojectmanager/genericmakestep.cpp
@@ -332,6 +332,8 @@ ProjectExplorer::BuildStep *GenericMakeStepFactory::create(ProjectExplorer::Buil
if (parent->id() == Core::Id(ProjectExplorer::Constants::BUILDSTEPS_CLEAN)) {
step->setClean(true);
step->setBuildTarget("clean", /* on = */ true);
+ } else if (parent->id() == Core::Id(ProjectExplorer::Constants::BUILDSTEPS_BUILD)) {
+ step->setBuildTarget("all", /* on = */ true);
}
return step;
}