-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathqup.pro
More file actions
131 lines (124 loc) · 4.41 KB
/
qup.pro
File metadata and controls
131 lines (124 loc) · 4.41 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
macx {
dmg.commands = make install && hdiutil create Qup.d.dmg -srcfolder Qup.d
}
unix {
doxygen.commands = doxygen qup.doxygen
purge.commands = find . -name \'*~\' -exec rm {} \;
}
CONFIG += qt release warn_on
LANGUAGE = C++
QMAKE_CLEAN += Qup
QT += concurrent gui network widgets
freebsd-* {
QMAKE_CXXFLAGS_RELEASE += -Wall \
-Wcast-align \
-Wcast-qual \
-Wdouble-promotion \
-Werror \
-Wextra \
-Wformat=2 \
-Woverloaded-virtual \
-Wpointer-arith \
-Wstack-protector \
-Wstrict-overflow=5 \
-Wundef \
-fPIE \
-fstack-protector-all \
-fwrapv \
-pedantic \
-std=c++17
} else:macx {
QMAKE_CXXFLAGS_RELEASE += -Wall \
-Wcast-align \
-Wcast-qual \
-Wdouble-promotion \
-Wenum-compare \
-Wextra \
-Wformat=2 \
-Woverloaded-virtual \
-Wpointer-arith \
-Wstack-protector \
-Wstrict-overflow=5 \
-Wundef \
-fPIE \
-fstack-protector-all \
-fwrapv \
-pedantic \
-std=c++17
} else:win32 {
QMAKE_CXXFLAGS_RELEASE += -Wall \
-Wcast-align \
-Wcast-qual \
-Wdouble-promotion \
-Wenum-compare \
-Wextra \
-Wformat=2 \
-Wl,-z,relro \
-Wno-class-memaccess \
-Wno-deprecated-copy \
-Woverloaded-virtual \
-Wpointer-arith \
-Wstack-protector \
-Wstrict-overflow=5 \
-Wundef \
-fPIE \
-fwrapv \
-pedantic \
-pie \
-std=c++17
} else {
QMAKE_CXXFLAGS_RELEASE += -Wall \
-Wcast-qual \
-Wdouble-promotion \
-Wenum-compare \
-Wextra \
-Wfloat-equal \
-Wformat=2 \
-Wl,-z,relro \
-Wlogical-op \
-Wno-class-memaccess \
-Wno-deprecated-copy \
-Wold-style-cast \
-Woverloaded-virtual \
-Wpointer-arith \
-Wstack-protector \
-Wstrict-overflow=1 \
-Wundef \
-fPIE \
-fstack-protector-all \
-fwrapv \
-pedantic \
-pie \
-std=c++17
}
QMAKE_DISTCLEAN += -r .qmake* \
-r html \
-r latex \
-r temporary
macx {
LIBS += -framework AppKit -framework Cocoa
OBJECTIVE_HEADERS += source/CocoaInitializer.h
OBJECTIVE_SOURCES += source/CocoaInitializer.mm
QMAKE_DISTCLEAN += -r Qup.d
QMAKE_EXTRA_TARGETS += dmg
QMAKE_MACOSX_DEPLOYMENT_TARGET = 13.0
}
unix {
QMAKE_EXTRA_TARGETS += doxygen purge
}
FORMS += ui/qup.ui ui/qup_page.ui
HEADERS += source/qup.h \
source/qup_page.h \
source/qup_swifty.h
INCLUDEPATH += source
MOC_DIR = temporary/moc
OBJECTS_DIR = temporary/obj
PROJECTNAME = Qup
RCC_DIR = temporary/rcc
RESOURCES = documentation/documentation.qrc images/images.qrc
SOURCES += source/qup.cc \
source/qup_main.cc \
source/qup_page.cc
TARGET = Qup
TEMPLATE = app
UI_DIR = temporary/ui