-
Notifications
You must be signed in to change notification settings - Fork 2
/
voltfish.pro
90 lines (78 loc) · 2.38 KB
/
voltfish.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
# NOTICE:
#
# Application name defined in TARGET has a corresponding QML filename.
# If name defined in TARGET is changed, the following needs to be done
# to match new name:
# - corresponding QML filename must be changed
# - desktop icon filename must be changed
# - desktop filename must be changed
# - icon definition filename in desktop file must be changed
# - translation filenames have to be changed
# The name of your application
TARGET = voltfish
CONFIG += sailfishapp
CONFIG += c++17
DEFINES += IS_SAILFISH_OS
CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
QT += bluetooth
SOURCES += src/main.cpp \
src/ble-scanner.cpp \
src/qmooshimeter.cpp \
src/lib/ble.cc \
src/lib/btcompat.cc \
src/lib/config_tree.cc \
src/lib/measurement.cc \
src/lib/mooshimeter.cc \
src/lib/reader.cc \
src/lib/util.cc \
src/lib/writer.cc
DISTFILES += \
qml/cover/CoverPage.qml \
rpm/voltfish.changes \
rpm/voltfish.spec \
rpm/voltfish.yaml \
translations/*.ts \
qml/pages/MainPage.qml \
qml/cover/util.js \
qml/lib/ScreenBlank.qml \
qml/pages/Graph.qml \
qml/voltfish.qml \
qml/pages/settings.qml \
qml/pages/about.qml \
qml/pages/discovery.qml \
voltfish.desktop
SAILFISHAPP_ICONS = 86x86 108x108 128x128 172x172 256x256
# to disable building translations every time, comment out the
# following CONFIG line
CONFIG += sailfishapp_i18n \
sailfishapp_i18n_idbased
# German translation is enabled as an example. If you aren't
# planning to localize your app, remember to comment out the
# following TRANSLATIONS line. And also do not forget to
# modify the localized app name in the the .desktop file.
TRANSLATIONS += translations/*.ts
HEADERS += \
src/ble-scanner.h \
src/qmooshimeter.h \
src/lib/ble.h \
src/lib/config_tree.h \
src/lib/generic.h \
src/lib/measurement.h \
src/lib/mooshimeter.h \
src/lib/reader.h \
src/lib/response.h \
src/lib/util.h \
src/lib/writer.h \
include/bluetooth/bluetooth.h \
include/bluetooth/bnep.h \
include/bluetooth/cmtp.h \
include/bluetooth/hci.h \
include/bluetooth/hci_lib.h \
include/bluetooth/hidp.h \
include/bluetooth/l2cap.h \
include/bluetooth/rfcomm.h \
include/bluetooth/sco.h \
include/bluetooth/sdp.h \
include/bluetooth/sdp_lib.h
INCLUDEPATH += include/
unix: PKGCONFIG += zlib