summaryrefslogtreecommitdiffstats
path: root/qtsensors.pro
blob: bdbe7920bd65feafde156afbdfdc3df716f35d6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
TEMPLATE = subdirs

SUBDIRS += module_qtsensors_src
module_qtsensors_src.subdir = src
module_qtsensors_src.target = module-qtsensors-src

SUBDIRS += module_qtsensors_tests
module_qtsensors_tests.subdir = tests
module_qtsensors_tests.target = module-qtsensors-tests
module_qtsensors_tests.depends = module_qtsensors_src
module_qtsensors_tests.CONFIG = no_default_install
!contains(QT_BUILD_PARTS,tests) {
    module_qtsensors_tests.CONFIG += no_default_target
}

SUBDIRS += module_qtsensors_examples
module_qtsensors_examples.subdir = examples
module_qtsensors_examples.target = module-qtsensors-examples
module_qtsensors_examples.depends = module_qtsensors_src
!contains(QT_BUILD_PARTS,examples) {
    module_qtsensors_examples.CONFIG = no_default_target no_default_install
}

SUBDIRS += module_qtsensors_snippets
module_qtsensors_snippets.subdir = doc/src/snippets
module_qtsensors_snippets.target = module-qtsensors-snippets
module_qtsensors_snippets.depends = module_qtsensors_src

include(doc/config/qtsensors_doc.pri)

!isEmpty(MIDDLEWARE):exists($$MIDDLEWARE/$$MIDDLEWARE.pro) {
    SUBDIRS += module_qtsensors_middleware
    module_qtsensors_middleware.subdir = $$MIDDLEWARE
    module_qtsensors_middleware.target = module-qtsensors-middleware
    module_qtsensors_middleware.depends = module_qtsensors_src
}