-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathConnectionTester.pro
74 lines (62 loc) · 1.78 KB
/
ConnectionTester.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
QT += core gui widgets network websockets serialport script
TARGET = ConnectionTester
TEMPLATE = app
QMAKE_LFLAGS += -no-pie
CONFIG += c++14
INCLUDEPATH += \
src \
src/connections \
src/scripts \
src/widgets
SOURCES += \
src/connections/serialport.cpp \
src/main.cpp \
src/jsonsettings.cpp \
src/widgets/mainwindow.cpp \
src/widgets/connectionwidget.cpp \
src/connections/netconnection.cpp \
src/connections/tcpserver.cpp \
src/connections/tcpsocket.cpp \
src/connections/udpsocket.cpp \
src/scripts/scripteditor.cpp \
src/scripts/scriptitem.cpp \
src/scripts/scriptitemwidget.cpp \
src/scripts/scriptobjects.cpp
HEADERS += \
src/connections/serialport.h \
src/global.h \
src/jsonsettings.h \
src/widgets/mainwindow.h \
src/widgets/connectionwidget.h \
src/connections/netconnection.h \
src/connections/tcpserver.h \
src/connections/tcpsocket.h \
src/connections/udpsocket.h \
src/scripts/scripteditor.h \
src/scripts/scriptitem.h \
src/scripts/scriptitemwidget.h \
src/scripts/scriptobjects.h
FORMS += \
src/widgets/mainwindow.ui \
src/widgets/connectionwidget.ui \
src/scripts/scripteditor.ui
RC_FILE = res/connection.rc
#QMAKE_LFLAGS_RELEASE += -static -static-libgcc
# === build parameters ===
win32: OS_SUFFIX = win32
linux-g++: OS_SUFFIX = linux
CONFIG(debug, debug|release) {
BUILD_FLAG = debug
LIB_SUFFIX = d
} else {
BUILD_FLAG = release
}
RCC_DIR = $${PWD}/build/$${BUILD_FLAG}
UI_DIR = $${PWD}/build/$${BUILD_FLAG}
UI_HEADERS_DIR = $${PWD}/build/$${BUILD_FLAG}
UI_SOURCES_DIR = $${PWD}/build/$${BUILD_FLAG}
MOC_DIR = $${PWD}/build/$${BUILD_FLAG}
OBJECTS_DIR = $${PWD}/build/$${BUILD_FLAG}
DESTDIR = $${PWD}/bin/$${BUILD_FLAG}
RESOURCES += \
res/res.qrc