summaryrefslogtreecommitdiffstats
path: root/tests/auto/auto.pro
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2017-07-04 09:47:15 +0200
committerPaul Lemire <paul.lemire@kdab.com>2017-08-02 06:24:27 +0000
commit718165fc244f824c6a82c1eeb94afc563a35adeb (patch)
tree086970e557ad38d765cfa493875e5da408fbe0b2 /tests/auto/auto.pro
parenta20f0c5228861676bb46c15cb1010ca311895c33 (diff)
Allow to disable aspects at configure time
This allows to remove dependencies and reduce deployment size when a given aspect is not required. Change-Id: I5aa90e4825b375cd446c47727aa11d03c40703c9 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'tests/auto/auto.pro')
-rw-r--r--tests/auto/auto.pro15
1 files changed, 9 insertions, 6 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index 7cbb53089..39631ef99 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -2,11 +2,14 @@ TEMPLATE = subdirs
SUBDIRS = \
core \
- render \
- quick3d \
- cmake \
- input \
- animation \
- extras
+ cmake
installed_cmake.depends = cmake
+QT_FOR_CONFIG += 3dcore
+
+qtConfig(qt3d-render): SUBDIRS += render
+qtConfig(qt3d-input): SUBDIRS += input
+qtConfig(qt3d-animation): SUBDIRS += animation
+qtConfig(qt3d-extras): SUBDIRS += extras
+qtConfig(qt3d-render):qtConfig(qt3d-input): SUBDIRS += quick3d
+