-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdsconvo.pro
61 lines (49 loc) · 1.45 KB
/
dsconvo.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
QT += core gui network sql
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++11
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
dsconvoclient.cpp \
dsconvoclientconnection.cpp \
dsconvocommon.cpp \
dsconvodatabase.cpp \
dsconvoprotocol.cpp \
dsconvoserverconnection.cpp \
dsconvostream.cpp \
dsconvoconnection.cpp \
dsconvoserver.cpp \
clientwindow.cpp \
serverwindow.cpp \
main.cpp \
protobuf/*.pb.cc
HEADERS += \
dsconvoclient.h \
dsconvoclientconnection.h \
dsconvocommon.h \
dsconvodatabase.h \
dsconvoprotocol.h \
dsconvoserverconnection.h \
dsconvostream.h \
dsconvoconnection.h \
dsconvoserver.h \
clientwindow.h \
serverwindow.h \
protobuf/*.pb.h
FORMS += \
clientwindow.ui \
serverwindow.ui
TRANSLATIONS += \
dsconvo_es_CO.ts
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
protobufs.commands = @$(MAKE) -C $$PWD/protobuf -f protobuf.mk
protocopy.commands = $(COPY_DIR) $$PWD/protobuf $$OUT_PWD
protocopy.depends = protobufs
QMAKE_EXTRA_TARGETS += protocopy protobufs
PRE_TARGETDEPS += protocopy
# libprotobuf
LIBS += -lprotobuf