diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-12-22 12:22:09 (GMT) |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-12-22 12:34:53 (GMT) |
commit | c24da6375547e0648beaf0b6d2fb91ff312aacdd (patch) | |
tree | 25525af22e2acb19b5682499e06fb3d8d99a02b4 /qmake/generators/symbian/symmake_abld.cpp | |
parent | 495952fb67efd283bfc41b8d9017bc0d1e163638 (diff) | |
download | Qt-c24da6375547e0648beaf0b6d2fb91ff312aacdd.zip Qt-c24da6375547e0648beaf0b6d2fb91ff312aacdd.tar.gz Qt-c24da6375547e0648beaf0b6d2fb91ff312aacdd.tar.bz2 |
Added more specific clean targets for Symbian builds
Also fixed sbsv2 build targets 'make release' and 'make debug'.
Task-number: QTBUG-5156
Reviewed-by: Janne Koskinen
Diffstat (limited to 'qmake/generators/symbian/symmake_abld.cpp')
-rw-r--r-- | qmake/generators/symbian/symmake_abld.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/qmake/generators/symbian/symmake_abld.cpp b/qmake/generators/symbian/symmake_abld.cpp index 4ecaae3..065af48 100644 --- a/qmake/generators/symbian/symmake_abld.cpp +++ b/qmake/generators/symbian/symmake_abld.cpp @@ -372,6 +372,28 @@ void SymbianAbldMakefileGenerator::writeWrapperMakefile(QFile& wrapperFile, bool t << "\t-bldmake clean" << endl; t << endl; + t << "clean-debug: $(ABLD)" << endl; + foreach(QString item, debugPlatforms) { + t << "\t$(ABLD)" << testClause << " reallyclean " << item << " udeb" << endl; + } + t << endl; + t << "clean-release: $(ABLD)" << endl; + foreach(QString item, releasePlatforms) { + t << "\t$(ABLD)" << testClause << " reallyclean " << item << " urel" << endl; + } + t << endl; + + // For more specific builds, targets are in this form: clean-build-platform, e.g. clean-release-armv5 + foreach(QString item, debugPlatforms) { + t << "clean-debug-" << item << ": $(ABLD)" << endl; + t << "\t$(ABLD)" << testClause << " reallyclean " << item << " udeb" << endl; + } + foreach(QString item, releasePlatforms) { + t << "clean-release-" << item << ": $(ABLD)" << endl; + t << "\t$(ABLD)" << testClause << " reallyclean " << item << " urel" << endl; + } + t << endl; + generateExecutionTargets(t, debugPlatforms); } |