From 1f1a2e491c99f15481974f1d7f11c533485e7ddf Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 15 Jun 2011 11:21:49 +1000 Subject: honour configures -nomake examples/tests/demos flags in QtSensors --- qtsensors.pro | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'qtsensors.pro') 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 -- cgit v1.2.3