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