-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhydratool.pro
59 lines (52 loc) · 1.19 KB
/
hydratool.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
CONFIG(debug, debug|release) {
QMAKE_CXXFLAGS_DEBUG += -g3 -O0
DEFINES += QT_NO_DEBUG
DEFINES += QT_NO_DEBUG_OUTPUT
message("DEBUG! QT_NO_DEBUG_OUTPUT")
#message("DEBUG! QT_DEBUG_OUTPUT")
} else {
# VisualStudio optimization /Ot favor speed /Ox max optimization/Oy omit frame pointer x86
#QMAKE_CXXFLAGS += /Ot /Ox /Oy
# VisualStudio optimization /Os favor size
#QMAKE_CXXFLAGS += /Os
DEFINES += QT_NO_DEBUG
DEFINES += QT_NO_DEBUG_OUTPUT
message("RELEASE!")
}
QT += core gui
QT += widgets
#QT += network
QT += serialport
TARGET = hydratool
TEMPLATE = app
SOURCES += \
main.cpp \
mainwindow.cpp \
settingsdialog.cpp \
console.cpp \
hydratooldialog.cpp \
history_line_edit.cpp \
directdiskdialog.cpp \
sniff/sniff.c \
sniff/sniff_ascii.c \
terminaldialog.cpp
HEADERS += \
mainwindow.h \
settingsdialog.h \
console.h \
version.h \
history_line_edit.hpp \
directdiskdialog.h \
sniff/sniff.h \
sniff/sniff_ascii.h \
hydratooldialog.h \
terminaldialog.h
FORMS += \
mainwindow.ui \
settingsdialog.ui \
directdiskdialog.ui \
hydratooldialog.ui \
terminaldialog.ui
RESOURCES += \
hydratool.qrc
RC_FILE = resources.rc