forked from qbasicer/qzdl
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathqzdl.pro
123 lines (117 loc) · 3.38 KB
/
qzdl.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
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
# This file is part of qZDL
# Copyright (C) 2019 Lcferrum
#
# qZDL is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
TEMPLATE = app
TARGET = zdl
DESTDIR = release
MOC_DIR = moc
UI_DIR = uic
RCC_DIR = rcc
QT += core gui
CONFIG += release
DEFINES += _ZDL_NO_WARNINGS _ZDL_NO_WFA NOMINMAX QT_HAVE_MMX QT_HAVE_3DNOW QT_HAVE_SSE QT_HAVE_MMXEXT QT_HAVE_SSE2
*g++|*g++-64|*g++-32 {
QMAKE_CFLAGS += -fno-strict-aliasing
QMAKE_CXXFLAGS += -Wno-missing-field-initializers -Wno-maybe-uninitialized
}
# For static build supply CONFIG+=static as additional argument in qmake build step for selected kit
static {
DEFINES += STATIC
*g++|*g++-64|*g++-32 {
QMAKE_LFLAGS += -static-libstdc++ -static-libgcc -Wl,--as-needed
}
}
INCLUDEPATH += \
miniz \
include \
res/XPM
HEADERS += \
miniz/miniz.h \
include/ZDLFileInfo.h \
include/ZDLConfiguration.h \
include/ZDLFileListable.h \
include/ZDLListEntry.hpp \
include/ZDLMapFile.h \
include/ZDLNullDevice.h \
include/libwad.h \
include/zdlcommon.h \
include/zdlconf.hpp \
include/zdlline.hpp \
include/zdlsection.hpp \
include/ZLibPK3.h \
include/ZLibDir.h \
include/ZDLAboutDialog.h \
include/ZDLConfigurationManager.h \
include/ZDLFileList.h \
include/ZDLFilePane.h \
include/ZDLIWadList.h \
include/ZDLImportDialog.h \
include/ZDLInterface.h \
include/ZDLListWidget.h \
include/ZDLListable.h \
include/ZDLMainWindow.h \
include/ZDLMultiPane.h \
include/ZDLNameInput.h \
include/ZDLNameListable.h \
include/ZDLQSplitter.h \
include/ZDLSettingsPane.h \
include/ZDLSettingsTab.h \
include/ZDLSourcePortList.h \
include/ZDLWidget.h
SOURCES += \
miniz/miniz.c \
src/ZDLAboutDialog.cpp \
src/ZDLConfiguration.cpp \
src/ZDLConfigurationManager.cpp \
src/ZDLFileInfo.cpp \
src/ZDLFileList.cpp \
src/ZDLFileListable.cpp \
src/ZDLFilePane.cpp \
src/ZDLIWadList.cpp \
src/ZDLImportDialog.cpp \
src/ZDLInterface.cpp \
src/ZDLListEntry.cpp \
src/ZDLListWidget.cpp \
src/ZDLListable.cpp \
src/ZDLMainWindow.cpp \
src/ZDLMapFile.cpp \
src/ZDLMultiPane.cpp \
src/ZDLNameInput.cpp \
src/ZDLNameListable.cpp \
src/ZDLQSplitter.cpp \
src/ZDLSettingsPane.cpp \
src/ZDLSettingsTab.cpp \
src/ZDLSourcePortList.cpp \
src/ZDLWidget.cpp \
src/libwad.cpp \
src/qzdl.cpp \
src/zdlconf.cpp \
src/zdlline.cpp \
src/zdlsection.cpp \
src/ZLibDir.cpp \
src/ZLibPK3.cpp
OTHER_FILES += \
res/XPM/adown.xpm \
res/XPM/aup.xpm \
res/XPM/bmp_logo.xpm \
res/XPM/gph_dna.xpm \
res/XPM/gph_dnt.xpm \
res/XPM/gph_ast.xpm \
res/XPM/gph_fld.xpm \
res/XPM/gph_mns.xpm \
res/XPM/gph_pls.xpm \
res/XPM/gph_upa.xpm \
res/XPM/gph_upt.xpm \
res/XPM/ico_icon.xpm