diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2017-07-04 09:47:15 +0200 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2017-08-02 06:24:27 +0000 |
commit | 718165fc244f824c6a82c1eeb94afc563a35adeb (patch) | |
tree | 086970e557ad38d765cfa493875e5da408fbe0b2 /tests/tests.pro | |
parent | a20f0c5228861676bb46c15cb1010ca311895c33 (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/tests.pro')
-rw-r--r-- | tests/tests.pro | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/tests.pro b/tests/tests.pro index 2ab283fc2..157bdcea5 100644 --- a/tests/tests.pro +++ b/tests/tests.pro @@ -1,8 +1,11 @@ TEMPLATE = subdirs -!package: SUBDIRS += \ - auto \ - manual +QT_FOR_CONFIG += 3dcore + +!package { + SUBDIRS += auto + qtConfig(qt3d-extras): SUBDIRS += manual +} # Benchmarks make sense in release mode only. # Disable them for code coverage. |