summaryrefslogtreecommitdiff
path: root/qtwayland.pro
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2012-03-11 13:05:08 +0100
committerJørgen Lind <jorgen.lind@nokia.com>2012-03-12 12:00:28 +0100
commit36df41bb337028064a6e12eecc0e310f1027dd7c (patch)
treeec8800b41e166980dbd81050a6657b65cfdc9668 /qtwayland.pro
parent68e266b3f93fbf7f918a519f8e9198429ff1db07 (diff)
downloadqtwayland-36df41bb337028064a6e12eecc0e310f1027dd7c.tar.gz
Make the module not depend on QtBase configure
This is convenient if we want to reconfigure without reconfiguring QtBase. Change-Id: I719ba0d89905287a557e962ed6d804514e44b7f5 Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
Diffstat (limited to 'qtwayland.pro')
-rw-r--r--qtwayland.pro26
1 files changed, 17 insertions, 9 deletions
diff --git a/qtwayland.pro b/qtwayland.pro
index 07dea21a..377ee24f 100644
--- a/qtwayland.pro
+++ b/qtwayland.pro
@@ -1,15 +1,23 @@
TEMPLATE=subdirs
+CONFIG += ordered
-module_qtcompositor_src.subdir = src
-module_qtcompositor_src.target = module-module_qtcompositor_src
+module_qtwayland_src.subdir = src
+module_qtwayland_src.target = module-qtwayland-src
-module_qtcompositor_examples.subdir = examples
-module_qtcompositor_examples.target = module_qtcompositor_examples
-module_qtcompositor_examples.depends = module_qtcompositor_src
+module_qtwayland_examples.subdir = examples
+module_qtwayland_examples.target = module-qtwayland-examples
+module_qtwayland_examples.depends = module_qtwayland_src
!contains(QT_BUILD_PARTS,examples) {
- module_qtcompositor_examples.CONFIG = no_default_target no_default_install
+ module_qtwayland_examples.CONFIG = no_default_target no_default_install
}
-SUBDIRS += tests \
- module_qtcompositor_src \
- module_qtcompositor_examples \
+module_qtwayland_tests.subdir = tests
+module_qtwayland_tests.target = module-qtwayland-tests
+module_qtwayland_tests.depends = module_qtwayland_src
+!contains(QT_BUILD_PARTS,tests):!with-tests {
+ module_qtwayland_tests.CONFIG += no_default_target
+}
+
+SUBDIRS += module_qtwayland_src \
+ module_qtwayland_examples \
+ module_qtwayland_tests