This repository has been archived by the owner on Jan 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbtle.pro
165 lines (149 loc) · 5.55 KB
/
btle.pro
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
QT -= gui
TARGET = btle
TEMPLATE = lib
DEFINES += BTLE_LIBRARY BTLE_EXPORT_IMPORT BTLE_EXPORTS DESKTOP_BUILD
INCLUDEPATH += inc inc/btle internal internal/btle internal/btle/central
QMAKE_LIBDIR += "$$DESTDIR"
SOURCES += \
src/btle/base.cpp \
src/btle/uuid.cpp \
src/btle/characteristic.cpp \
src/btle/descriptor.cpp \
src/btle/bda.cpp \
src/btle/advertisementdata.cpp \
src/btle/device.cpp \
src/btle/gatt_services/gattservicebase.cpp \
src/btle/gatt_services/hrservice.cpp \
src/btle/gatt_services/gattservicefactory.cpp \
src/btle/gattdatabase.cpp \
src/btle/service.cpp \
src/btle/central/connectionhandler.cpp \
src/btle/gatt_services/rscservice.cpp \
src/btle/gatt_services/cscservice.cpp \
src/btle/central/centralpluginfactory.cpp \
src/btle/central/collector.cpp \
src/btle/exceptions/attribute_not_found.cpp \
src/btle/exceptions/attribute_not_readable.cpp \
src/btle/exceptions/attribute_not_writable.cpp \
src/btle/exceptions/device_not_connected.cpp \
src/btle/exceptions/link_not_active.cpp \
src/btle/exceptions/attribute_not_notifyable.cpp \
src/btle/rssifilter.cpp \
src/btle/version.cpp \
src/btle/error.cpp \
src/btle/exceptions/service_not_found.cpp \
src/btle/exceptions/not_implemented.cpp \
src/btle/gatt_services/cyclingpowerservice.cpp \
src/btle/log.cpp \
src/btle/utility.cpp \
src/btle/connectionparameters.cpp \
src/btle/gatt_services/glucoseservice.cpp \
src/btle/scanfilterbase.cpp \
src/btle/uuidscanfilter.cpp \
src/btle/bdascanfilter.cpp \
src/btle/central/centralplugininterface.cpp \
src/btle/rssiscanfilter.cpp \
src/btle/advertisementfields.cpp \
src/btle/central/collectorqt.cpp \
src/btle/central/collectorsimpleqt.cpp \
src/btle/gatt_services/btlelibservice.cpp \
src/btle/smpkeys.cpp \
src/btle/btlelibscanfilter.cpp
HEADERS += \
inc/btle/btle.h\
inc/btle/btle_global.h \
inc/btle/base.h \
inc/btle/uuid.h \
inc/btle/characteristic.h \
inc/btle/descriptor.h \
inc/btle/bda.h \
inc/btle/advertisementdata.h \
inc/btle/device.h \
inc/btle/gatt_services/gattservicebase.h \
inc/btle/gatt_services/hrservice.h \
inc/btle/gatt_services/gattservicefactory.h \
inc/btle/gatt_services/gattserviceregisterer.h \
inc/btle/gatt_services/gattserviceregisterer.hpp \
inc/btle/gattdatabase.h \
inc/btle/service.h \
internal/btle/central/connectionhandler.h \
internal/btle/central/centralplugininterface.h \
inc/btle/gatt_services/rscservice.h \
inc/btle/gatt_services/cscservice.h \
inc/btle/central/collector.h \
internal/btle/central/centralpluginfactory.h \
inc/btle/exceptions/attribute_not_found.h \
inc/btle/exceptions/attribute_not_readable.h \
inc/btle/exceptions/attribute_not_writable.h \
inc/btle/exceptions/device_not_connected.h \
inc/btle/exceptions/link_not_active.h \
inc/btle/list_ext.h \
inc/btle/list_ext.hpp \
inc/btle/exceptions/attribute_not_notifyable.h \
inc/btle/rssifilter.h \
inc/btle/version.h \
internal/btle/central/connectionhandlerobserver.h \
inc/btle/error.h \
inc/btle/exceptions/service_not_found.h \
inc/btle/exceptions/not_implemented.h \
inc/btle/gatt_services/cyclingpowerservice.h \
inc/btle/verify.h \
internal/btle/central/centralpluginobserver.h \
inc/btle/log.h \
inc/btle/utility.h \
internal/btle/central/centralpluginregisterer.h \
internal/btle/central/centralpluginregisterer.hpp \
inc/btle/connectionparameters.h \
inc/btle/gatt_services/glucoseservice.h \
inc/btle/scanfilterbase.h \
inc/btle/uuidscanfilter.h \
inc/btle/bdascanfilter.h \
inc/btle/rssiscanfilter.h\
inc/btle/advertisementfields.h \
inc/btle/central/collectorqt.h \
inc/btle/central/collectorsimpleqt.h \
inc/btle/gatt_services/btlelibservice.h \
inc/btle/smpkeys.h \
internal/btle/timer.h \
internal/btle/timercallback.h \
internal/btle/central/connectionhandlerlinkctrl.h \
internal/btle/central/connectionhandlerscanctrl.h \
inc/btle/btlelibscanfilter.h \
internal/btle/peripheral/peripheralplugininterface.h
ios{
LIBS += -framework Foundation \
-framework CoreFoundation \
-framework CoreBluetooth
OBJECTIVE_HEADERS += internal/btle/central/apple/corebluetoothcentralplugin.h \
internal/btle/central/apple/corebluetoothperipheraldevice.h
OBJECTIVE_SOURCES += src/btle/central/apple/corebluetoothcentralplugin.mm \
src/btle/central/apple/corebluetoothperipheraldevice.mm \
src/btle/timer_darwin.mm
}
macx{
LIBS += -framework Foundation \
-framework CoreFoundation \
-framework IOBluetooth
OBJECTIVE_HEADERS += internal/btle/central/apple/corebluetoothcentralplugin.h \
internal/btle/central/apple/corebluetoothperipheraldevice.h
OBJECTIVE_SOURCES += src/btle/central/apple/corebluetoothcentralplugin.mm \
src/btle/central/apple/corebluetoothperipheraldevice.mm \
src/btle/timer_darwin.mm
}
android{
}
win{
SOURCES += \
src/btle/central/win8/win8centralplugin.cpp \
src/btle/central/win8/win8peripheraldevice.cpp\
src/btle/timer_win32.cpp
HEADERS += \
internal/btle/central/win8/win8centralplugin.h \
internal/btle/central/win8/win8peripheraldevice.h \
}
linux{
}
unix {
target.path = /usr/lib
INSTALLS += target
}