blob: ba60a19717b01c4d0150fc49ffddc0ec77f6f64a (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
#####################################################################
## IOSSensorPlugin Plugin:
#####################################################################
qt_internal_add_plugin(IOSSensorPlugin
OUTPUT_NAME qtsensors_ios
PLUGIN_TYPE sensors
SOURCES
main.mm
LIBRARIES
${FWFoundation}
Qt::Core
Qt::Sensors
)
#### Keys ignored in scope 1:.:.:ios.pro:<TRUE>:
# OTHER_FILES = "plugin.json"
## Scopes:
#####################################################################
set_target_properties(IOSSensorPlugin
PROPERTIES
DISABLE_PRECOMPILE_HEADERS ON
)
qt_internal_extend_target(IOSSensorPlugin CONDITION IOS AND UIKIT
SOURCES
ioscompass.h ioscompass.mm
DEFINES
HAVE_COMPASS
LIBRARIES
${FWCoreLocation}
)
qt_internal_extend_target(IOSSensorPlugin CONDITION UIKIT AND NOT TVOS
SOURCES
iosaccelerometer.h iosaccelerometer.mm
iosgyroscope.h iosgyroscope.mm
iosmagnetometer.h iosmagnetometer.mm
iospressure.h iospressure.mm
iosmotionmanager.h iosmotionmanager.mm
DEFINES
HAVE_COREMOTION
LIBRARIES
${FWCoreMotion}
)
qt_internal_extend_target(IOSSensorPlugin CONDITION UIKIT AND NOT WATCHOS
SOURCES
iosproximitysensor.h iosproximitysensor.mm
DEFINES
HAVE_UIDEVICE
LIBRARIES
${FWUIKit}
)
|