summaryrefslogtreecommitdiffstats
path: root/src/plugins/sensors/android/CMakeLists.txt
blob: aa9d62d572959b201ed51bb6eb567f68bd285d1a (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
#####################################################################
## QCounterGesturePlugin Plugin:
#####################################################################

qt_internal_add_plugin(AndroidSensorPlugin
    OUTPUT_NAME qtsensors_android
    PLUGIN_TYPE sensors
    SOURCES
        androidaccelerometer.cpp androidaccelerometer.h
        androidcompass.cpp androidcompass.h
        androidgyroscope.cpp androidgyroscope.h
        androidlight.cpp androidlight.h
        androidmagnetometer.cpp androidmagnetometer.h
        androidpressure.cpp androidpressure.h
        androidproximity.cpp androidproximity.h
        androidrotation.cpp androidrotation.h
        androidtemperature.cpp androidtemperature.h
        main.cpp
        sensoreventqueue.h
        sensormanager.cpp sensormanager.h
    DEFINES
        # STATICPLUGIN needed because there's a Q_IMPORT_PLUGIN in main.cpp
        # Yes, the plugin imports itself statically
        QT_STATICPLUGIN
    PUBLIC_LIBRARIES
        Qt::CorePrivate
        Qt::Sensors
        android
)

#### Keys ignored in scope 1:.:.:android.pro:<TRUE>:
# OTHER_FILES = "plugin.json"