-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdmrtc.pro
More file actions
89 lines (69 loc) · 1.64 KB
/
Copy pathdmrtc.pro
File metadata and controls
89 lines (69 loc) · 1.64 KB
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
QT += core gui network widgets
TARGET = dmrtc
TEMPLATE = app
CONFIG += qt thread
#QMAKE_CXXFLAGS += -Werror
QMAKE_CXXFLAGS += $$(CXXFLAGS)
QMAKE_CFLAGS += $$(CFLAGS)
QMAKE_LFLAGS += $$(LDFLAGS)
message($$QMAKESPEC)
linux-g++ {
message(Building for GNU/Linux)
}
SOURCES += src/main.cpp \
src/ackhandler.cpp \
src/crc32.cpp \
src/crc9.cpp \
src/dmrmessagehandler.cpp \
src/networksignalling.cpp \
src/rc4.cpp \
src/channelviewmodel.cpp \
src/dmridlookup.cpp \
src/dmrrewrite.cpp \
src/gatewayrouter.cpp \
src/logicalchannel.cpp \
src/settings.cpp \
src/logger.cpp \
src/signalling.cpp \
src/udpclient.cpp \
src/controller.cpp \
src/mainwindow.cpp \
src/utils.cpp
SOURCES += $$files(src/MMDVM/*.cpp)
HEADERS += src/settings.h \
src/ackhandler.h \
src/channelviewmodel.h \
src/crc32.h \
src/crc9.h \
src/dmr_commands.h \
src/dmridlookup.h \
src/dmrmessagehandler.h \
src/dmrrewrite.h \
src/gatewayrouter.h \
src/logger.h \
src/logicalchannel.h \
src/networksignalling.h \
src/signalling.h \
src/standard_PDU.h \
src/udpclient.h \
src/controller.h \
src/mainwindow.h \
src/rc4.h \
src/utils.h
HEADERS += $$files(src/MMDVM/*.h)
INCLUDEPATH += $$_PRO_FILE_PWD_/src/MMDVM/
!isEmpty(LIBDIR) {
LIBS += -L$$LIBDIR
}
!isEmpty(INCDIR) {
INCLUDEPATH += $$INCDIR
}
FORMS += \
src/mainwindow.ui
LIBS += -lrt -lpthread # need to include on some distros
LIBS += -lconfig++ -llog4cpp -luuid
RESOURCES += src/resources.qrc
!isEmpty(INSTALL_PREFIX) {
target.path = $$INSTALL_PREFIX
INSTALLS += target
}