blob: cd2009220b9a9e5417e8f795f3523075227796f6 (
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
|
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
# all get generic sensor
add_subdirectory(generic)
if(ANDROID AND NOT SENSORS_PLUGINS OR "sensorfw" IN_LIST SENSORS_PLUGINS)
add_subdirectory(android)
endif()
# Currently disabled, see src/sensors/configure.cmake
#if (QT_FEATURE_sensorfw AND NOT SENSORS_PLUGINS OR "sensorfw" IN_LIST SENSORS_PLUGINS)
# add_subdirectory(sensorfw)
#endif()
if (QT_FEATURE_winrt_sensors AND NOT SENSORS_PLUGINS OR "winrt" IN_LIST SENSORS_PLUGINS)
add_subdirectory(winrt)
endif()
if (IOS AND NOT SENSORS_PLUGINS OR "ios" IN_LIST SENSORS_PLUGINS)
add_subdirectory(ios)
endif()
if(LINUX AND TARGET Qt::DBus AND NOT SENSORS_PLUGINS OR "iio-sensor-proxy" IN_LIST SENSORS_PLUGINS)
add_subdirectory(iio-sensor-proxy)
endif()
if(NOT SENSORS_PLUGINS OR "dummy" IN_LIST SENSORS_PLUGINS)
add_subdirectory(dummy)
endif()
|