blob: aca65f116b95d0d538bd05fa657531fa4c55005a (
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
57
58
59
|
TARGET = pebbled
CONFIG += console
CONFIG -= app_bundle
CONFIG += link_pkgconfig
QT -= gui
QT += bluetooth dbus contacts
PKGCONFIG += commhistory-qt5 mlite5
QMAKE_CXXFLAGS += -std=c++0x
LIBS += -L$$OUT_PWD/../ext/Log4Qt/ -llog4qt
QMAKE_RPATHDIR += /usr/share/$$TARGET/lib
INCLUDEPATH += ../ext/Log4Qt/src ../ext/Log4Qt/deploy/include
SOURCES += \
daemon.cpp \
manager.cpp \
voicecallmanager.cpp \
voicecallhandler.cpp \
watchconnector.cpp \
dbusconnector.cpp \
dbusadaptor.cpp
HEADERS += \
manager.h \
voicecallmanager.h \
voicecallhandler.h \
watchconnector.h \
dbusconnector.h \
dbusadaptor.h
OTHER_FILES += \
org.pebbled.xml \
../log4qt-debug.conf \
../log4qt-release.conf
INSTALLS += target pebbled config
target.path = /usr/bin
pebbled.files = $${TARGET}.service
pebbled.path = /usr/lib/systemd/user
CONFIG(debug, debug|release) {
message(Debug build)
log4qt_demo_config.extra = cp $$PWD/../../log4qt-debug.conf $$OUT_PWD/../../log4qt.conf
}
else {
message(Release build)
log4qt_demo_config.extra = cp $$PWD/../../log4qt-release.conf $$OUT_PWD/../../log4qt.conf
}
config.files = $$OUT_PWD/../../log4qt.conf
config.path = /usr/share/$$TARGET
# so QtCreator could find commhistory headers... :-(
INCLUDEPATH += $$[QT_HOST_PREFIX]/include/commhistory-qt5
INCLUDEPATH += $$[QT_HOST_PREFIX]/include/mlite5
|