summaryrefslogtreecommitdiffstats
path: root/messagingframework.pro
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@jollamobile.com>2013-07-18 12:44:46 +0200
committerRobin Burchell <robin+qt@viroteck.net>2013-08-07 07:02:14 +0200
commit8bcfbaab19a14cab2b77b4b89dc5811e0d709e0e (patch)
tree7a2fa58908f1982a0bc2a7e00e0744e494c3dfdc /messagingframework.pro
parenta84920f307cd4c5661f09dc41e562ff949d6779c (diff)
Rework the build system to better use parallel builds.4.0.3
Instead of having one gigantic master .pro, split things out into multiple SUBDIRS templates. This allows for slightly better grained build dependencies without losing the sanity of a clearly understandable build system. Change-Id: Ib09cd6170bcf8be55a1b351731f9a6451bb82d27 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au>
Diffstat (limited to 'messagingframework.pro')
-rw-r--r--messagingframework.pro38
1 files changed, 12 insertions, 26 deletions
diff --git a/messagingframework.pro b/messagingframework.pro
index d47d54dc..7c9ca9f3 100644
--- a/messagingframework.pro
+++ b/messagingframework.pro
@@ -1,35 +1,21 @@
TEMPLATE = subdirs
-CONFIG += ordered
-
-SUBDIRS = src/libraries/qmfclient \
- src/libraries/qmfmessageserver \
- src/plugins/messageservices/imap \
- src/plugins/messageservices/pop \
- src/plugins/messageservices/smtp \
- src/plugins/messageservices/qmfsettings \
- src/plugins/contentmanagers/qmfstoragemanager \
- src/tools/messageserver \
- tests
+SUBDIRS = src tests
-!contains(DEFINES,QMF_NO_MESSAGE_SERVICE_EDITOR) {
+tests.depends = src
-SUBDIRS += \
- examples/qtmail/libs/qmfutil \
- examples/qtmail/app \
- examples/qtmail/plugins/viewers/generic \
- examples/qtmail/plugins/composers/email \
- examples/messagingaccounts \
- examples/serverobserver
-
-# disable benchmark test on mac until ported
-!macx {
- !SERVER_AS_DLL {
- SUBDIRS += benchmarks
+!contains(DEFINES,QMF_NO_MESSAGE_SERVICE_EDITOR) {
+ SUBDIRS += examples
+ examples.depends = src
+
+ # disable benchmark test on mac until ported
+ !macx {
+ !SERVER_AS_DLL {
+ SUBDIRS += benchmarks
+ benchmarks.depends = src
+ }
}
}
-}
-
defineReplace(targetPath) {
return($$replace(1, /, $$QMAKE_DIR_SEP))
}