summaryrefslogtreecommitdiffstats
path: root/qtsensors.pro
diff options
context:
space:
mode:
Diffstat (limited to 'qtsensors.pro')
-rw-r--r--qtsensors.pro10
1 files changed, 9 insertions, 1 deletions
diff --git a/qtsensors.pro b/qtsensors.pro
index 16236164..f5040084 100644
--- a/qtsensors.pro
+++ b/qtsensors.pro
@@ -3,4 +3,12 @@ TEMPLATE = subdirs
module_qtsensors_src.subdir = src
module_qtsensors_src.target = module-qtsensors-src
-SUBDIRS += module_qtsensors_src
+module_qtsensors_tests.subdir = tests
+module_qtsensors_tests.target = module-qtsensors-tests
+module_qtsensors_tests.depends = module_qtsensors_src
+!contains(QT_BUILD_PARTS,tests) {
+ module_qtsensors_tests.CONFIG = no_default_target no_default_install
+}
+
+SUBDIRS += module_qtsensors_src \
+ module_qtsensors_tests