summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/buildmanager.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2010-07-06 17:56:01 +0200
committerTobias Hunger <tobias.hunger@nokia.com>2010-07-06 18:36:32 +0200
commit54584044ca7d56304f003ee0048c8d301d45c6a9 (patch)
tree18181969e4b5a52d5b3905d2d66d39400d490f2e /src/plugins/projectexplorer/buildmanager.cpp
parent1062c0ad8cb7e191ae421384425b19d472152d59 (diff)
downloadqt-creator-54584044ca7d56304f003ee0048c8d301d45c6a9.tar.gz
Add Deploy steps
* Add "Deploy" to BuildSteps::Type * Update UIs to handle deploy steps * Turn existing package creation steps from build type to deploy type * Move packaging steps into deploy steps when loading projects Reviewed-by: dt
Diffstat (limited to 'src/plugins/projectexplorer/buildmanager.cpp')
-rw-r--r--src/plugins/projectexplorer/buildmanager.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/buildmanager.cpp b/src/plugins/projectexplorer/buildmanager.cpp
index 257f99a07e..a912b9c07e 100644
--- a/src/plugins/projectexplorer/buildmanager.cpp
+++ b/src/plugins/projectexplorer/buildmanager.cpp
@@ -413,8 +413,11 @@ bool BuildManager::buildQueueAppend(QList<BuildStep *> steps)
void BuildManager::buildProjects(const QList<BuildConfiguration *> &configurations)
{
QList<BuildStep *> steps;
- foreach(BuildConfiguration *bc, configurations)
+ foreach(BuildConfiguration *bc, configurations) {
steps.append(bc->steps(BuildStep::Build));
+ // TODO: Verify that this is indeed what we want.
+ steps.append(bc->steps(BuildStep::Deploy));
+ }
bool success = buildQueueAppend(steps);
if (!success) {