summaryrefslogtreecommitdiffstats
path: root/qmake/main.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-04-23 19:27:43 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-06-27 14:35:30 +0200
commit2ca26162f8348719ee04e63b4e80be8b5131521d (patch)
treed17f1259e20dcec87dc8db91719c80bae4a053ff /qmake/main.cpp
parenta54875057f3292799f1d9211ded7b7eb19ef3a39 (diff)
repurpose deprecated -E switch
instead of dumping the variables as we are going, dump everything at the end. this is potentially useful, as opposed to the previous functionality which was redundant with -d. Change-Id: Icf14703cb93e03f7079dfc0266b219ad9c902133 Reviewed-by: Mark Brand <mabrand@mabrand.nl>
Diffstat (limited to 'qmake/main.cpp')
-rw-r--r--qmake/main.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/qmake/main.cpp b/qmake/main.cpp
index 45672c67ee..835849c652 100644
--- a/qmake/main.cpp
+++ b/qmake/main.cpp
@@ -173,8 +173,10 @@ int runQMake(int argc, char **argv)
exit_val = 3;
continue;
}
- if(Option::mkfile::do_preprocess) //no need to create makefile
- continue;
+ if (Option::mkfile::do_preprocess) {
+ project.dump();
+ continue; //no need to create makefile
+ }
}
bool success = true;