-
Notifications
You must be signed in to change notification settings - Fork 0
/
knx.pro
35 lines (30 loc) · 1.16 KB
/
knx.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
# Note: make external qtknx linking
exists(/opt/qtknx/build/mkspecs/modules/qt_lib_knx.pri) {
include(/opt/qtknx/build/mkspecs/modules/qt_lib_knx.pri)
}
isEmpty(PLUGIN_PRI) {
exists($$[QT_INSTALL_PREFIX]/include/nymea/plugin.pri) {
include($$[QT_INSTALL_PREFIX]/include/nymea/plugin.pri)
} else {
message("plugin.pri not found. Either install libnymea1-dev or use the PLUGIN_PRI argument to point to it.")
message("For building this project without nymea installed system-wide, you will want to export those variables in addition:")
message("PKG_CONFIG_PATH=/path/to/build-nymea/libnymea/pkgconfig/")
message("CPATH=/path/to/nymea/libnymea/")
message("LIBRARY_PATH=/path/to/build-nymea/libnymea/")
message("PATH=/path/to/build-nymea/tools/nymea-plugininfocompiler:$PATH")
message("LD_LIBRARY_PATH=/path/to/build-nymea/libnymea/")
error("plugin.pri not found. Cannot continue")
}
} else {
message("Using $$PLUGIN_PRI")
include($$PLUGIN_PRI)
}
QT += network knx
SOURCES += \
integrationpluginknx.cpp \
knxtunnel.cpp \
knxserverdiscovery.cpp
HEADERS += \
integrationpluginknx.h \
knxtunnel.h \
knxserverdiscovery.h