author | alfadur |
Mon, 26 Aug 2019 19:05:28 +0300 | |
changeset 15363 | b5e0a39856fd |
parent 13226 | 02bf6902eeb0 |
permissions | -rw-r--r-- |
8157 | 1 |
TEMPLATE = app |
2 |
TARGET = hedgewars |
|
3 |
DEPENDPATH += ../QTfrontend/ |
|
4 |
INCLUDEPATH += ../QTfrontend |
|
5 |
INCLUDEPATH += ../QTfrontend/model |
|
6 |
INCLUDEPATH += ../QTfrontend/ui |
|
7 |
INCLUDEPATH += ../QTfrontend/ui/widget |
|
8 |
INCLUDEPATH += ../QTfrontend/ui/page |
|
9 |
INCLUDEPATH += ../QTfrontend/ui/dialog |
|
10 |
INCLUDEPATH += ../QTfrontend/net |
|
11 |
INCLUDEPATH += ../QTfrontend/util |
|
8381
588a8e6e2041
move platform code around, based off a gci task by dag10
koda
parents:
8374
diff
changeset
|
12 |
INCLUDEPATH += ../QTfrontend/util/platform |
8705 | 13 |
INCLUDEPATH += ../misc/libphysfs |
14 |
INCLUDEPATH += ../misc/libphyslayer |
|
10235 | 15 |
INCLUDEPATH += /usr/local/include/lua52/ |
8157 | 16 |
|
17 |
DESTDIR = ../bin |
|
18 |
||
13226
02bf6902eeb0
Remove Qt SVG and Qt OpenGL as hard dependencies
Wuzzy <Wuzzy2@mail.ru>
parents:
13202
diff
changeset
|
19 |
QT += widgets |
8157 | 20 |
QT += network |
21 |
QT += webkit |
|
22 |
||
23 |
HEADERS += ../QTfrontend/model/ThemeModel.h \ |
|
24 |
../QTfrontend/model/MapModel.h \ |
|
13202
0bc5f618ca7c
Rename the misleadingly-named AmmoSchemeModel to GameSchemeModel
Wuzzy <Wuzzy2@mail.ru>
parents:
12829
diff
changeset
|
25 |
../QTfrontend/model/gameSchemeModel.h \ |
8157 | 26 |
../QTfrontend/model/netserverslist.h \ |
27 |
../QTfrontend/ui/page/pagedrawmap.h \ |
|
28 |
../QTfrontend/ui/page/pagedata.h \ |
|
29 |
../QTfrontend/ui/page/pagetraining.h \ |
|
30 |
../QTfrontend/ui/page/pageselectweapon.h \ |
|
31 |
../QTfrontend/ui/page/pagesingleplayer.h \ |
|
32 |
../QTfrontend/ui/page/pageingame.h \ |
|
33 |
../QTfrontend/ui/page/pageadmin.h \ |
|
34 |
../QTfrontend/ui/page/pagescheme.h \ |
|
35 |
../QTfrontend/ui/page/pagemultiplayer.h \ |
|
36 |
../QTfrontend/ui/page/pageplayrecord.h \ |
|
37 |
../QTfrontend/ui/page/pagemain.h \ |
|
38 |
../QTfrontend/ui/page/pageoptions.h \ |
|
39 |
../QTfrontend/ui/page/pagenetgame.h \ |
|
40 |
../QTfrontend/ui/page/pageeditteam.h \ |
|
41 |
../QTfrontend/ui/page/pageconnecting.h \ |
|
42 |
../QTfrontend/ui/page/pageroomslist.h \ |
|
43 |
../QTfrontend/ui/page/pagenet.h \ |
|
44 |
../QTfrontend/ui/page/pagecampaign.h \ |
|
45 |
../QTfrontend/ui/page/pageinfo.h \ |
|
46 |
../QTfrontend/ui/page/pagenetserver.h \ |
|
47 |
../QTfrontend/ui/page/pagegamestats.h \ |
|
48 |
../QTfrontend/ui/dialog/input_ip.h \ |
|
49 |
../QTfrontend/ui/widget/bgwidget.h \ |
|
50 |
../QTfrontend/ui/widget/fpsedit.h \ |
|
51 |
../QTfrontend/ui/widget/FreqSpinBox.h \ |
|
52 |
../QTfrontend/ui/widget/igbox.h \ |
|
53 |
../QTfrontend/ui/widget/chatwidget.h \ |
|
54 |
../QTfrontend/ui/widget/togglebutton.h \ |
|
55 |
../QTfrontend/ui/widget/SquareLabel.h \ |
|
56 |
../QTfrontend/ui/widget/itemNum.h \ |
|
57 |
../QTfrontend/ui/widget/frameTeam.h \ |
|
58 |
../QTfrontend/ui/widget/teamselect.h \ |
|
59 |
../QTfrontend/ui/widget/vertScrollArea.h \ |
|
60 |
../QTfrontend/ui/widget/about.h \ |
|
61 |
../QTfrontend/ui/widget/teamselhelper.h \ |
|
62 |
../QTfrontend/ui/widget/drawmapwidget.h \ |
|
63 |
../QTfrontend/ui/widget/databrowser.h \ |
|
64 |
../QTfrontend/ui/widget/hedgehogerWidget.h \ |
|
65 |
../QTfrontend/ui/widget/selectWeapon.h \ |
|
66 |
../QTfrontend/ui/widget/weaponItem.h \ |
|
67 |
../QTfrontend/ui/widget/gamecfgwidget.h \ |
|
68 |
../QTfrontend/ui/widget/mapContainer.h \ |
|
69 |
../QTfrontend/ui/widget/HistoryLineEdit.h \ |
|
70 |
../QTfrontend/ui/widget/SmartLineEdit.h \ |
|
71 |
../QTfrontend/util/DataManager.h \ |
|
72 |
../QTfrontend/net/netregister.h \ |
|
73 |
../QTfrontend/net/netserver.h \ |
|
74 |
../QTfrontend/net/netudpwidget.h \ |
|
75 |
../QTfrontend/net/tcpBase.h \ |
|
76 |
../QTfrontend/net/proto.h \ |
|
77 |
../QTfrontend/net/newnetclient.h \ |
|
78 |
../QTfrontend/net/netudpserver.h \ |
|
79 |
../QTfrontend/net/hwmap.h \ |
|
80 |
../QTfrontend/util/namegen.h \ |
|
81 |
../QTfrontend/ui/page/AbstractPage.h \ |
|
82 |
../QTfrontend/drawmapscene.h \ |
|
83 |
../QTfrontend/game.h \ |
|
84 |
../QTfrontend/gameuiconfig.h \ |
|
85 |
../QTfrontend/HWApplication.h \ |
|
86 |
../QTfrontend/hwform.h \ |
|
87 |
../QTfrontend/util/SDLInteraction.h \ |
|
88 |
../QTfrontend/team.h \ |
|
89 |
../QTfrontend/achievements.h \ |
|
90 |
../QTfrontend/binds.h \ |
|
91 |
../QTfrontend/ui_hwform.h \ |
|
92 |
../QTfrontend/hwconsts.h \ |
|
93 |
../QTfrontend/sdlkeys.h \ |
|
94 |
../QTfrontend/ui/mouseoverfilter.h \ |
|
95 |
../QTfrontend/ui/widget/qpushbuttonwithsound.h \ |
|
96 |
../QTfrontend/model/roomslistmodel.h \ |
|
97 |
../QTfrontend/ui/dialog/input_password.h \ |
|
98 |
../QTfrontend/ui/widget/colorwidget.h \ |
|
99 |
../QTfrontend/model/HatModel.h \ |
|
100 |
../QTfrontend/model/GameStyleModel.h \ |
|
101 |
../QTfrontend/ui/page/pagevideos.h \ |
|
102 |
../QTfrontend/net/recorder.h \ |
|
103 |
../QTfrontend/ui/dialog/ask_quit.h \ |
|
104 |
../QTfrontend/ui/dialog/upload_video.h \ |
|
105 |
../QTfrontend/campaign.h \ |
|
106 |
../QTfrontend/model/playerslistmodel.h \ |
|
107 |
../QTfrontend/util/LibavInteraction.h \ |
|
108 |
../QTfrontend/util/FileEngine.h \ |
|
8362 | 109 |
../QTfrontend/ui/dialog/bandialog.h \ |
8385
9e8924ff9813
Convert feedback page to dialog (+some fixes from unC0Rr)
dag10
parents:
8381
diff
changeset
|
110 |
../QTfrontend/ui/widget/keybinder.h \ |
9e8924ff9813
Convert feedback page to dialog (+some fixes from unC0Rr)
dag10
parents:
8381
diff
changeset
|
111 |
../QTfrontend/ui/widget/seedprompt.h \ |
9e8924ff9813
Convert feedback page to dialog (+some fixes from unC0Rr)
dag10
parents:
8381
diff
changeset
|
112 |
../QTfrontend/ui/widget/themeprompt.h \ |
9e8924ff9813
Convert feedback page to dialog (+some fixes from unC0Rr)
dag10
parents:
8381
diff
changeset
|
113 |
../QTfrontend/ui/widget/hatbutton.h \ |
9e8924ff9813
Convert feedback page to dialog (+some fixes from unC0Rr)
dag10
parents:
8381
diff
changeset
|
114 |
../QTfrontend/util/MessageDialog.h \ |
9e8924ff9813
Convert feedback page to dialog (+some fixes from unC0Rr)
dag10
parents:
8381
diff
changeset
|
115 |
../QTfrontend/ui/widget/hatprompt.h \ |
9e8924ff9813
Convert feedback page to dialog (+some fixes from unC0Rr)
dag10
parents:
8381
diff
changeset
|
116 |
../QTfrontend/ui/widget/feedbackdialog.h \ |
8401
87410ae372f6
Server messages localization using Qt's l10n subsystem:
unc0rr
parents:
8396
diff
changeset
|
117 |
../QTfrontend/ui/widget/lineeditcursor.h \ |
8508
f849b7b3af1d
- Ensure that team file exists before saving into it (same fix as for hedgewars.ini, due to bug in Qt)
unc0rr
parents:
8434
diff
changeset
|
118 |
../QTfrontend/servermessages.h \ |
9785
74445ca0b489
More sane default weapons: remove rc, freezer, portals and landspray
unc0rr
parents:
9466
diff
changeset
|
119 |
../QTfrontend/ui/widget/roomnameprompt.h \ |
10256 | 120 |
../QTfrontend/weapons.h \ |
12829 | 121 |
../QTfrontend/ui/widget/MinesTimeSpinBox.h \ |
10256 | 122 |
../QTfrontend/net/hwmapoptimizer.h |
8157 | 123 |
|
124 |
||
13202
0bc5f618ca7c
Rename the misleadingly-named AmmoSchemeModel to GameSchemeModel
Wuzzy <Wuzzy2@mail.ru>
parents:
12829
diff
changeset
|
125 |
SOURCES += ../QTfrontend/model/gameSchemeModel.cpp \ |
8157 | 126 |
../QTfrontend/model/MapModel.cpp \ |
127 |
../QTfrontend/model/ThemeModel.cpp \ |
|
128 |
../QTfrontend/model/netserverslist.cpp \ |
|
129 |
../QTfrontend/ui/page/pagemain.cpp \ |
|
130 |
../QTfrontend/ui/page/pagetraining.cpp \ |
|
131 |
../QTfrontend/ui/page/pageroomslist.cpp \ |
|
132 |
../QTfrontend/ui/page/pagemultiplayer.cpp \ |
|
133 |
../QTfrontend/ui/page/pagegamestats.cpp \ |
|
134 |
../QTfrontend/ui/page/pageeditteam.cpp \ |
|
135 |
../QTfrontend/ui/page/pagenetgame.cpp \ |
|
136 |
../QTfrontend/ui/page/pagedata.cpp \ |
|
137 |
../QTfrontend/ui/page/pagedrawmap.cpp \ |
|
138 |
../QTfrontend/ui/page/pageplayrecord.cpp \ |
|
139 |
../QTfrontend/ui/page/pageselectweapon.cpp \ |
|
140 |
../QTfrontend/ui/page/pageingame.cpp \ |
|
141 |
../QTfrontend/ui/page/pagenetserver.cpp \ |
|
142 |
../QTfrontend/ui/page/pagecampaign.cpp \ |
|
143 |
../QTfrontend/ui/page/pageadmin.cpp \ |
|
144 |
../QTfrontend/ui/page/pageinfo.cpp \ |
|
145 |
../QTfrontend/ui/page/pageconnecting.cpp \ |
|
146 |
../QTfrontend/ui/page/pagesingleplayer.cpp \ |
|
147 |
../QTfrontend/ui/page/pagenet.cpp \ |
|
148 |
../QTfrontend/ui/page/pagescheme.cpp \ |
|
149 |
../QTfrontend/ui/page/pageoptions.cpp \ |
|
150 |
../QTfrontend/ui/dialog/input_ip.cpp \ |
|
151 |
../QTfrontend/ui/widget/igbox.cpp \ |
|
152 |
../QTfrontend/ui/widget/selectWeapon.cpp \ |
|
153 |
../QTfrontend/ui/widget/FreqSpinBox.cpp \ |
|
154 |
../QTfrontend/ui/widget/SquareLabel.cpp \ |
|
155 |
../QTfrontend/ui/widget/frameTeam.cpp \ |
|
156 |
../QTfrontend/ui/widget/fpsedit.cpp \ |
|
157 |
../QTfrontend/ui/widget/databrowser.cpp \ |
|
158 |
../QTfrontend/ui/widget/teamselect.cpp \ |
|
159 |
../QTfrontend/ui/widget/gamecfgwidget.cpp \ |
|
160 |
../QTfrontend/ui/widget/chatwidget.cpp \ |
|
161 |
../QTfrontend/ui/widget/itemNum.cpp \ |
|
162 |
../QTfrontend/ui/widget/bgwidget.cpp \ |
|
163 |
../QTfrontend/ui/widget/about.cpp \ |
|
164 |
../QTfrontend/ui/widget/togglebutton.cpp \ |
|
165 |
../QTfrontend/ui/widget/vertScrollArea.cpp \ |
|
166 |
../QTfrontend/ui/widget/hedgehogerWidget.cpp \ |
|
167 |
../QTfrontend/ui/widget/teamselhelper.cpp \ |
|
168 |
../QTfrontend/ui/widget/drawmapwidget.cpp \ |
|
169 |
../QTfrontend/ui/widget/weaponItem.cpp \ |
|
170 |
../QTfrontend/ui/widget/mapContainer.cpp \ |
|
171 |
../QTfrontend/ui/widget/HistoryLineEdit.cpp \ |
|
172 |
../QTfrontend/ui/widget/SmartLineEdit.cpp \ |
|
173 |
../QTfrontend/util/DataManager.cpp \ |
|
174 |
../QTfrontend/net/tcpBase.cpp \ |
|
175 |
../QTfrontend/net/netregister.cpp \ |
|
176 |
../QTfrontend/net/proto.cpp \ |
|
177 |
../QTfrontend/net/hwmap.cpp \ |
|
178 |
../QTfrontend/net/netudpserver.cpp \ |
|
179 |
../QTfrontend/net/newnetclient.cpp \ |
|
180 |
../QTfrontend/net/netudpwidget.cpp \ |
|
181 |
../QTfrontend/net/netserver.cpp \ |
|
182 |
../QTfrontend/util/namegen.cpp \ |
|
183 |
../QTfrontend/ui/page/AbstractPage.cpp \ |
|
184 |
../QTfrontend/achievements.cpp \ |
|
185 |
../QTfrontend/binds.cpp \ |
|
186 |
../QTfrontend/drawmapscene.cpp \ |
|
187 |
../QTfrontend/game.cpp \ |
|
188 |
../QTfrontend/gameuiconfig.cpp \ |
|
189 |
../QTfrontend/HWApplication.cpp \ |
|
190 |
../QTfrontend/hwform.cpp \ |
|
191 |
../QTfrontend/main.cpp \ |
|
192 |
../QTfrontend/util/SDLInteraction.cpp \ |
|
193 |
../QTfrontend/team.cpp \ |
|
194 |
../QTfrontend/ui_hwform.cpp \ |
|
195 |
../QTfrontend/hwconsts.cpp \ |
|
196 |
../QTfrontend/ui/mouseoverfilter.cpp \ |
|
197 |
../QTfrontend/ui/widget/qpushbuttonwithsound.cpp \ |
|
198 |
../QTfrontend/model/roomslistmodel.cpp \ |
|
199 |
../QTfrontend/ui/dialog/input_password.cpp \ |
|
200 |
../QTfrontend/ui/widget/colorwidget.cpp \ |
|
8374 | 201 |
../QTfrontend/ui/widget/hatbutton.cpp \ |
202 |
../QTfrontend/ui/widget/hatprompt.cpp \ |
|
8157 | 203 |
../QTfrontend/model/HatModel.cpp \ |
204 |
../QTfrontend/model/GameStyleModel.cpp \ |
|
205 |
../QTfrontend/ui/page/pagevideos.cpp \ |
|
206 |
../QTfrontend/net/recorder.cpp \ |
|
207 |
../QTfrontend/ui/dialog/ask_quit.cpp \ |
|
208 |
../QTfrontend/ui/dialog/upload_video.cpp \ |
|
209 |
../QTfrontend/campaign.cpp \ |
|
210 |
../QTfrontend/model/playerslistmodel.cpp \ |
|
211 |
../QTfrontend/util/LibavInteraction.cpp \ |
|
212 |
../QTfrontend/util/FileEngine.cpp \ |
|
8362 | 213 |
../QTfrontend/ui/dialog/bandialog.cpp \ |
8385
9e8924ff9813
Convert feedback page to dialog (+some fixes from unC0Rr)
dag10
parents:
8381
diff
changeset
|
214 |
../QTfrontend/ui/widget/keybinder.cpp \ |
9e8924ff9813
Convert feedback page to dialog (+some fixes from unC0Rr)
dag10
parents:
8381
diff
changeset
|
215 |
../QTfrontend/ui/widget/seedprompt.cpp \ |
9e8924ff9813
Convert feedback page to dialog (+some fixes from unC0Rr)
dag10
parents:
8381
diff
changeset
|
216 |
../QTfrontend/ui/widget/themeprompt.cpp \ |
9e8924ff9813
Convert feedback page to dialog (+some fixes from unC0Rr)
dag10
parents:
8381
diff
changeset
|
217 |
../QTfrontend/util/MessageDialog.cpp \ |
9e8924ff9813
Convert feedback page to dialog (+some fixes from unC0Rr)
dag10
parents:
8381
diff
changeset
|
218 |
../QTfrontend/ui/widget/feedbackdialog.cpp \ |
8508
f849b7b3af1d
- Ensure that team file exists before saving into it (same fix as for hedgewars.ini, due to bug in Qt)
unc0rr
parents:
8434
diff
changeset
|
219 |
../QTfrontend/ui/widget/lineeditcursor.cpp \ |
10256 | 220 |
../QTfrontend/ui/widget/roomnameprompt.cpp \ |
12829 | 221 |
../QTfrontend/ui/widget/MinesTimeSpinBox.cpp \ |
10256 | 222 |
../QTfrontend/net/hwmapoptimizer.cpp |
8157 | 223 |
|
224 |
||
225 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ar.ts \ |
|
226 |
../share/hedgewars/Data/Locale/hedgewars_bg.ts \ |
|
227 |
../share/hedgewars/Data/Locale/hedgewars_cs.ts \ |
|
228 |
../share/hedgewars/Data/Locale/hedgewars_da.ts \ |
|
10235 | 229 |
../share/hedgewars/Data/Locale/hedgewars_de.ts \ |
8157 | 230 |
../share/hedgewars/Data/Locale/hedgewars_el.ts \ |
10235 | 231 |
../share/hedgewars/Data/Locale/hedgewars_en.ts \ |
8157 | 232 |
../share/hedgewars/Data/Locale/hedgewars_es.ts \ |
233 |
../share/hedgewars/Data/Locale/hedgewars_fi.ts \ |
|
10235 | 234 |
../share/hedgewars/Data/Locale/hedgewars_fr.ts \ |
8157 | 235 |
../share/hedgewars/Data/Locale/hedgewars_gl.ts \ |
10235 | 236 |
../share/hedgewars/Data/Locale/hedgewars_hu.ts \ |
237 |
../share/hedgewars/Data/Locale/hedgewars_it.ts \ |
|
238 |
../share/hedgewars/Data/Locale/hedgewars_ja.ts \ |
|
239 |
../share/hedgewars/Data/Locale/hedgewars_ko.ts \ |
|
8157 | 240 |
../share/hedgewars/Data/Locale/hedgewars_lt.ts \ |
241 |
../share/hedgewars/Data/Locale/hedgewars_ms.ts \ |
|
10235 | 242 |
../share/hedgewars/Data/Locale/hedgewars_nl.ts \ |
243 |
../share/hedgewars/Data/Locale/hedgewars_pl.ts \ |
|
8157 | 244 |
../share/hedgewars/Data/Locale/hedgewars_pt_BR.ts \ |
245 |
../share/hedgewars/Data/Locale/hedgewars_pt_PT.ts \ |
|
246 |
../share/hedgewars/Data/Locale/hedgewars_ro.ts \ |
|
247 |
../share/hedgewars/Data/Locale/hedgewars_ru.ts \ |
|
248 |
../share/hedgewars/Data/Locale/hedgewars_sk.ts \ |
|
249 |
../share/hedgewars/Data/Locale/hedgewars_sv.ts \ |
|
250 |
../share/hedgewars/Data/Locale/hedgewars_tr_TR.ts \ |
|
251 |
../share/hedgewars/Data/Locale/hedgewars_uk.ts \ |
|
252 |
../share/hedgewars/Data/Locale/hedgewars_zh_CN.ts \ |
|
253 |
../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts |
|
254 |
||
255 |
RESOURCES += ../QTfrontend/hedgewars.qrc |
|
256 |
||
10463 | 257 |
LIBS += -L../bin -lphysfs -lphyslayer |
8157 | 258 |
|
259 |
macx { |
|
260 |
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6 |
|
8401
87410ae372f6
Server messages localization using Qt's l10n subsystem:
unc0rr
parents:
8396
diff
changeset
|
261 |
QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.6.sdk |
8157 | 262 |
|
8381
588a8e6e2041
move platform code around, based off a gci task by dag10
koda
parents:
8374
diff
changeset
|
263 |
OBJECTIVE_SOURCES += ../QTfrontend/util/platform/*.m ../QTfrontend/util/platform/*.mm |
8401
87410ae372f6
Server messages localization using Qt's l10n subsystem:
unc0rr
parents:
8396
diff
changeset
|
264 |
SOURCES += ../QTfrontend/util/platform/AutoUpdater.cpp \ |
87410ae372f6
Server messages localization using Qt's l10n subsystem:
unc0rr
parents:
8396
diff
changeset
|
265 |
../QTfrontend/util/platform/InstallController.cpp \ |
8157 | 266 |
../../build/QTfrontend/hwconsts.cpp |
8381
588a8e6e2041
move platform code around, based off a gci task by dag10
koda
parents:
8374
diff
changeset
|
267 |
HEADERS += ../QTfrontend/util/platform/*.h |
8157 | 268 |
|
269 |
LIBS += -lobjc -framework AppKit -framework IOKit -framework Foundation -framework SDL -framework SDL_Mixer -framework Sparkle -DSPARKLE_ENABLED |
|
270 |
INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers /Library/Frameworks/SDL_Mixer.framework/Headers |
|
271 |
CONFIG += warn_on x86 |
|
272 |
#CONFIG += x86 ppc x86_64 ppc64 |
|
273 |
} |
|
274 |
||
275 |
win32 { |
|
276 |
RC_FILE = ../QTfrontend/hedgewars.rc |
|
8381
588a8e6e2041
move platform code around, based off a gci task by dag10
koda
parents:
8374
diff
changeset
|
277 |
LIBS += -L../misc/winutils/lib |
8157 | 278 |
INCLUDEPATH += ../misc/winutils/include |
279 |
} |
|
280 |
||
281 |
!macx { |
|
9701 | 282 |
LIBS += -lSDL2 -lSDL2_mixer -lSDL2_net |
8157 | 283 |
!win32 { |
9701 | 284 |
INCLUDEPATH += /usr/local/include/SDL2 /usr/include/SDL2 |
8157 | 285 |
} |
286 |
} |