mirror of https://github.com/nymea/nymea.git
40 lines
841 B
Prolog
40 lines
841 B
Prolog
include(../nymea.pri)
|
|
|
|
TARGET = nymead
|
|
TEMPLATE = app
|
|
|
|
INCLUDEPATH += ../libnymea ../libnymea-core $$top_builddir
|
|
|
|
target.path = $$[QT_INSTALL_PREFIX]/bin
|
|
INSTALLS += target
|
|
|
|
QT += sql xml websockets bluetooth dbus network
|
|
|
|
CONFIG += link_pkgconfig
|
|
PKGCONFIG += nymea-zigbee nymea-mqtt
|
|
|
|
LIBS += -L$$top_builddir/libnymea/ -lnymea \
|
|
-L$$top_builddir/libnymea-core -lnymea-core \
|
|
-lnymea-remoteproxyclient
|
|
|
|
# Add rpath for easy running from the build dir, unless explicitly disabled
|
|
!norpath: {
|
|
message("Adding rpath to nymead binary")
|
|
LIBS += -Wl,-rpath ../libnymea/:../libnymea-core/
|
|
}
|
|
|
|
CONFIG += link_pkgconfig
|
|
PKGCONFIG += nymea-zigbee
|
|
|
|
# Server files
|
|
include(qtservice/qtservice.pri)
|
|
|
|
SOURCES += main.cpp \
|
|
nymeaservice.cpp \
|
|
nymeaapplication.cpp
|
|
|
|
HEADERS += \
|
|
nymeaservice.h \
|
|
nymeaapplication.h
|
|
|