-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathde_web.pro
129 lines (105 loc) · 3.04 KB
/
de_web.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
TARGET = de_rest_plugin
# common configuration for deCONZ plugins
TARGET = $$qtLibraryTarget($$TARGET)
DEFINES += DECONZ_DLLSPEC=Q_DECL_IMPORT
unix:contains(QMAKE_HOST.arch, armv6l) {
DEFINES += ARCH_ARM ARCH_ARMV6
}
unix:contains(QMAKE_HOST.arch, armv7l) {
DEFINES += ARCH_ARM ARCH_ARMV7
}
unix:contains(QMAKE_HOST.arch, armv7l) {
DEFINES += ARCH_ARM ARCH_ARMV7
}
QMAKE_CXXFLAGS += -Wno-attributes \
-Wall
CONFIG(debug, debug|release) {
LIBS += -L../../debug
}
CONFIG(release, debug|release) {
LIBS += -L../../release
}
greaterThan(QT_MAJOR_VERSION, 4) {
QT += core gui widgets serialport
}
win32:LIBS += -L../.. -ldeCONZ1
unix:LIBS += -L../.. -ldeCONZ
win32:CONFIG += dll
unix:!macx {
LIBS += -lcrypt
}
TEMPLATE = lib
CONFIG += plugin \
+= debug_and_release
QT += network
INCLUDEPATH += ../.. \
../../common
unix:INCLUDEPATH += /usr/include
# Version Major.Minor.Build
# Important: don't change the format of this line since it's parsed by scripts!
DEFINES += GW_SW_VERSION=\\\"2.04.02\\\"
# Minimum version of the RaspBee firmware
# which shall be used in order to support all features for this software release (case sensitive)
DEFINES += GW_MIN_RPI_FW_VERSION=0x26050500
# Minimum version of the deRFusb23E0X firmware
# which shall be used in order to support all features for this software release
DEFINES += GW_MIN_DERFUSB23E0X_FW_VERSION=0x22030300
unix:contains(QMAKE_HOST.arch, armv6l) {
DEFINES += GW_DEFAULT_NAME=\\\"RaspBee-GW\\\"
}
else {
DEFINES += GW_DEFAULT_NAME=\\\"deCONZ-GW\\\"
}
QMAKE_CXXFLAGS += -Wno-attributes
HEADERS = bindings.h \
de_web_plugin.h \
de_web_widget.h \
connectivity.h \
json.h \
colorspace.h \
sqlite3.h \
de_web_plugin_private.h \
rest_node_base.h \
light_node.h \
group.h \
group_info.h \
rule.h \
scene.h \
sensor.h
SOURCES = authentification.cpp \
bindings.cpp \
change_channel.cpp \
connectivity.cpp \
database.cpp \
discovery.cpp \
de_web_plugin.cpp \
de_web_widget.cpp \
de_otau.cpp \
firmware_update.cpp \
json.cpp \
colorspace.cpp \
sqlite3.c \
rest_lights.cpp \
rest_configuration.cpp \
rest_groups.cpp \
rest_rules.cpp \
rest_sensors.cpp \
rest_schedules.cpp \
rest_touchlink.cpp \
rule.cpp \
upnp.cpp \
zcl_tasks.cpp \
gw_uuid.cpp \
permitJoin.cpp \
rest_node_base.cpp \
light_node.cpp \
group.cpp \
group_info.cpp \
scene.cpp \
sensor.cpp \
atmel_wsndemo_sensor.cpp \
reset_device.cpp
win32:DESTDIR = ../../debug/plugins # TODO adjust
unix:DESTDIR = ..
FORMS += \
de_web_widget.ui