author | koda |
Thu, 22 Nov 2012 10:28:07 +0100 | |
branch | webgl |
changeset 8102 | 20ef5bf0dc7f |
parent 8085 | 6c059add1560 |
child 8092 | 08960209db8c |
child 8157 | 695f1eef72c8 |
permissions | -rw-r--r-- |
7897 | 1 |
TEMPLATE = app |
2 |
TARGET = hedgewars |
|
3 |
DEPENDPATH += ../QTfrontend/ |
|
8052 | 4 |
INCLUDEPATH += ../QTfrontend |
7897 | 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 |
|
8052 | 12 |
INCLUDEPATH += ../misc/physfs/src |
13 |
INCLUDEPATH += ../misc/physfs/extras |
|
8078 | 14 |
INCLUDEPATH += ../project_files/frontlib |
7897 | 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/pagenettype.h \ |
|
31 |
../QTfrontend/ui/page/pageingame.h \ |
|
32 |
../QTfrontend/ui/page/pageadmin.h \ |
|
33 |
../QTfrontend/ui/page/pagescheme.h \ |
|
34 |
../QTfrontend/ui/page/pagemultiplayer.h \ |
|
35 |
../QTfrontend/ui/page/pageplayrecord.h \ |
|
36 |
../QTfrontend/ui/page/pagemain.h \ |
|
37 |
../QTfrontend/ui/page/pageoptions.h \ |
|
38 |
../QTfrontend/ui/page/pagenetgame.h \ |
|
39 |
../QTfrontend/ui/page/pageeditteam.h \ |
|
40 |
../QTfrontend/ui/page/pageconnecting.h \ |
|
41 |
../QTfrontend/ui/page/pageroomslist.h \ |
|
42 |
../QTfrontend/ui/page/pagenet.h \ |
|
43 |
../QTfrontend/ui/page/pagecampaign.h \ |
|
44 |
../QTfrontend/ui/page/pageinfo.h \ |
|
45 |
../QTfrontend/ui/page/pagenetserver.h \ |
|
46 |
../QTfrontend/ui/page/pagegamestats.h \ |
|
47 |
../QTfrontend/ui/dialog/input_ip.h \ |
|
48 |
../QTfrontend/ui/qaspectratiolayout.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/KB.h \ |
|
93 |
../QTfrontend/hwconsts.h \ |
|
94 |
../QTfrontend/sdlkeys.h \ |
|
95 |
../QTfrontend/ui/mouseoverfilter.h \ |
|
96 |
../QTfrontend/ui/qpushbuttonwithsound.h \ |
|
97 |
../QTfrontend/ui/widget/qpushbuttonwithsound.h \ |
|
98 |
../QTfrontend/ui/page/pagefeedback.h \ |
|
99 |
../QTfrontend/model/roomslistmodel.h \ |
|
100 |
../QTfrontend/ui/dialog/input_password.h \ |
|
101 |
../QTfrontend/ui/widget/colorwidget.h \ |
|
102 |
../QTfrontend/model/HatModel.h \ |
|
103 |
../QTfrontend/model/GameStyleModel.h \ |
|
104 |
../QTfrontend/ui/page/pagevideos.h \ |
|
105 |
../QTfrontend/net/recorder.h \ |
|
106 |
../QTfrontend/ui/dialog/ask_quit.h \ |
|
107 |
../QTfrontend/ui/dialog/upload_video.h \ |
|
108 |
../QTfrontend/campaign.h \ |
|
109 |
../QTfrontend/model/playerslistmodel.h \ |
|
8019 | 110 |
../QTfrontend/util/LibavInteraction.h \ |
111 |
../QTfrontend/util/FileEngine.h |
|
7897 | 112 |
|
7982
dfba2515d601
Add zsm since Myystery is offering to do this language. Also update the .pro file and existing strings.
nemo
parents:
7897
diff
changeset
|
113 |
|
7897 | 114 |
SOURCES += ../QTfrontend/model/ammoSchemeModel.cpp \ |
115 |
../QTfrontend/model/MapModel.cpp \ |
|
116 |
../QTfrontend/model/ThemeModel.cpp \ |
|
117 |
../QTfrontend/model/netserverslist.cpp \ |
|
118 |
../QTfrontend/ui/qaspectratiolayout.cpp \ |
|
119 |
../QTfrontend/ui/page/pagemain.cpp \ |
|
120 |
../QTfrontend/ui/page/pagetraining.cpp \ |
|
121 |
../QTfrontend/ui/page/pageroomslist.cpp \ |
|
122 |
../QTfrontend/ui/page/pagemultiplayer.cpp \ |
|
123 |
../QTfrontend/ui/page/pagegamestats.cpp \ |
|
124 |
../QTfrontend/ui/page/pagenettype.cpp \ |
|
125 |
../QTfrontend/ui/page/pageeditteam.cpp \ |
|
126 |
../QTfrontend/ui/page/pagenetgame.cpp \ |
|
127 |
../QTfrontend/ui/page/pagedata.cpp \ |
|
128 |
../QTfrontend/ui/page/pagedrawmap.cpp \ |
|
129 |
../QTfrontend/ui/page/pageplayrecord.cpp \ |
|
130 |
../QTfrontend/ui/page/pageselectweapon.cpp \ |
|
131 |
../QTfrontend/ui/page/pageingame.cpp \ |
|
132 |
../QTfrontend/ui/page/pagenetserver.cpp \ |
|
133 |
../QTfrontend/ui/page/pagecampaign.cpp \ |
|
134 |
../QTfrontend/ui/page/pageadmin.cpp \ |
|
135 |
../QTfrontend/ui/page/pageinfo.cpp \ |
|
136 |
../QTfrontend/ui/page/pageconnecting.cpp \ |
|
137 |
../QTfrontend/ui/page/pagesingleplayer.cpp \ |
|
138 |
../QTfrontend/ui/page/pagenet.cpp \ |
|
139 |
../QTfrontend/ui/page/pagescheme.cpp \ |
|
140 |
../QTfrontend/ui/page/pageoptions.cpp \ |
|
141 |
../QTfrontend/ui/dialog/input_ip.cpp \ |
|
142 |
../QTfrontend/ui/widget/igbox.cpp \ |
|
143 |
../QTfrontend/ui/widget/selectWeapon.cpp \ |
|
144 |
../QTfrontend/ui/widget/FreqSpinBox.cpp \ |
|
145 |
../QTfrontend/ui/widget/SquareLabel.cpp \ |
|
146 |
../QTfrontend/ui/widget/frameTeam.cpp \ |
|
147 |
../QTfrontend/ui/widget/fpsedit.cpp \ |
|
148 |
../QTfrontend/ui/widget/databrowser.cpp \ |
|
149 |
../QTfrontend/ui/widget/teamselect.cpp \ |
|
150 |
../QTfrontend/ui/widget/gamecfgwidget.cpp \ |
|
151 |
../QTfrontend/ui/widget/chatwidget.cpp \ |
|
152 |
../QTfrontend/ui/widget/itemNum.cpp \ |
|
153 |
../QTfrontend/ui/widget/bgwidget.cpp \ |
|
154 |
../QTfrontend/ui/widget/about.cpp \ |
|
155 |
../QTfrontend/ui/widget/togglebutton.cpp \ |
|
156 |
../QTfrontend/ui/widget/vertScrollArea.cpp \ |
|
157 |
../QTfrontend/ui/widget/hedgehogerWidget.cpp \ |
|
158 |
../QTfrontend/ui/widget/teamselhelper.cpp \ |
|
159 |
../QTfrontend/ui/widget/drawmapwidget.cpp \ |
|
160 |
../QTfrontend/ui/widget/weaponItem.cpp \ |
|
161 |
../QTfrontend/ui/widget/mapContainer.cpp \ |
|
162 |
../QTfrontend/ui/widget/HistoryLineEdit.cpp \ |
|
163 |
../QTfrontend/ui/widget/SmartLineEdit.cpp \ |
|
164 |
../QTfrontend/util/DataManager.cpp \ |
|
165 |
../QTfrontend/net/tcpBase.cpp \ |
|
166 |
../QTfrontend/net/netregister.cpp \ |
|
167 |
../QTfrontend/net/proto.cpp \ |
|
168 |
../QTfrontend/net/hwmap.cpp \ |
|
169 |
../QTfrontend/net/netudpserver.cpp \ |
|
170 |
../QTfrontend/net/newnetclient.cpp \ |
|
171 |
../QTfrontend/net/netudpwidget.cpp \ |
|
172 |
../QTfrontend/net/netserver.cpp \ |
|
173 |
../QTfrontend/util/namegen.cpp \ |
|
174 |
../QTfrontend/ui/page/AbstractPage.cpp \ |
|
175 |
../QTfrontend/achievements.cpp \ |
|
176 |
../QTfrontend/binds.cpp \ |
|
177 |
../QTfrontend/drawmapscene.cpp \ |
|
178 |
../QTfrontend/game.cpp \ |
|
179 |
../QTfrontend/gameuiconfig.cpp \ |
|
180 |
../QTfrontend/HWApplication.cpp \ |
|
181 |
../QTfrontend/hwform.cpp \ |
|
182 |
../QTfrontend/main.cpp \ |
|
183 |
../QTfrontend/util/SDLInteraction.cpp \ |
|
184 |
../QTfrontend/team.cpp \ |
|
185 |
../QTfrontend/ui_hwform.cpp \ |
|
186 |
../QTfrontend/hwconsts.cpp \ |
|
187 |
../QTfrontend/ui/mouseoverfilter.cpp \ |
|
188 |
../QTfrontend/ui/widget/qpushbuttonwithsound.cpp \ |
|
189 |
../QTfrontend/ui/page/pagefeedback.cpp \ |
|
190 |
../QTfrontend/model/roomslistmodel.cpp \ |
|
191 |
../QTfrontend/ui/dialog/input_password.cpp \ |
|
192 |
../QTfrontend/ui/widget/colorwidget.cpp \ |
|
193 |
../QTfrontend/model/HatModel.cpp \ |
|
194 |
../QTfrontend/model/GameStyleModel.cpp \ |
|
195 |
../QTfrontend/ui/page/pagevideos.cpp \ |
|
196 |
../QTfrontend/net/recorder.cpp \ |
|
197 |
../QTfrontend/ui/dialog/ask_quit.cpp \ |
|
198 |
../QTfrontend/ui/dialog/upload_video.cpp \ |
|
199 |
../QTfrontend/campaign.cpp \ |
|
200 |
../QTfrontend/model/playerslistmodel.cpp \ |
|
8019 | 201 |
../QTfrontend/util/LibavInteraction.cpp \ |
202 |
../QTfrontend/util/FileEngine.cpp |
|
7897 | 203 |
|
204 |
||
205 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ar.ts \ |
|
206 |
../share/hedgewars/Data/Locale/hedgewars_bg.ts \ |
|
207 |
../share/hedgewars/Data/Locale/hedgewars_cs.ts \ |
|
7982
dfba2515d601
Add zsm since Myystery is offering to do this language. Also update the .pro file and existing strings.
nemo
parents:
7897
diff
changeset
|
208 |
../share/hedgewars/Data/Locale/hedgewars_da.ts \ |
7897 | 209 |
../share/hedgewars/Data/Locale/hedgewars_de.ts \ |
7982
dfba2515d601
Add zsm since Myystery is offering to do this language. Also update the .pro file and existing strings.
nemo
parents:
7897
diff
changeset
|
210 |
../share/hedgewars/Data/Locale/hedgewars_el.ts \ |
7897 | 211 |
../share/hedgewars/Data/Locale/hedgewars_en.ts \ |
212 |
../share/hedgewars/Data/Locale/hedgewars_es.ts \ |
|
213 |
../share/hedgewars/Data/Locale/hedgewars_fi.ts \ |
|
214 |
../share/hedgewars/Data/Locale/hedgewars_fr.ts \ |
|
7982
dfba2515d601
Add zsm since Myystery is offering to do this language. Also update the .pro file and existing strings.
nemo
parents:
7897
diff
changeset
|
215 |
../share/hedgewars/Data/Locale/hedgewars_gl.ts \ |
7897 | 216 |
../share/hedgewars/Data/Locale/hedgewars_hu.ts \ |
217 |
../share/hedgewars/Data/Locale/hedgewars_it.ts \ |
|
218 |
../share/hedgewars/Data/Locale/hedgewars_ja.ts \ |
|
219 |
../share/hedgewars/Data/Locale/hedgewars_ko.ts \ |
|
220 |
../share/hedgewars/Data/Locale/hedgewars_lt.ts \ |
|
7998
c0c3f117ad1b
Only a handful of ISO 639-3 languages are supported by Qt. Standard Malay is not one of them. Using the macrolanguage code seems fine. Not too sure what the numerusform is for a macrolanguage, but appears that wikipedia equates MS w/ "bahasa" too
nemo
parents:
7982
diff
changeset
|
221 |
../share/hedgewars/Data/Locale/hedgewars_ms.ts \ |
7897 | 222 |
../share/hedgewars/Data/Locale/hedgewars_nl.ts \ |
223 |
../share/hedgewars/Data/Locale/hedgewars_pl.ts \ |
|
224 |
../share/hedgewars/Data/Locale/hedgewars_pt_BR.ts \ |
|
225 |
../share/hedgewars/Data/Locale/hedgewars_pt_PT.ts \ |
|
7982
dfba2515d601
Add zsm since Myystery is offering to do this language. Also update the .pro file and existing strings.
nemo
parents:
7897
diff
changeset
|
226 |
../share/hedgewars/Data/Locale/hedgewars_ro.ts \ |
7897 | 227 |
../share/hedgewars/Data/Locale/hedgewars_ru.ts \ |
228 |
../share/hedgewars/Data/Locale/hedgewars_sk.ts \ |
|
229 |
../share/hedgewars/Data/Locale/hedgewars_sv.ts \ |
|
230 |
../share/hedgewars/Data/Locale/hedgewars_tr_TR.ts \ |
|
231 |
../share/hedgewars/Data/Locale/hedgewars_uk.ts \ |
|
232 |
../share/hedgewars/Data/Locale/hedgewars_zh_CN.ts \ |
|
7998
c0c3f117ad1b
Only a handful of ISO 639-3 languages are supported by Qt. Standard Malay is not one of them. Using the macrolanguage code seems fine. Not too sure what the numerusform is for a macrolanguage, but appears that wikipedia equates MS w/ "bahasa" too
nemo
parents:
7982
diff
changeset
|
233 |
../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts |
7897 | 234 |
|
235 |
RESOURCES += ../QTfrontend/hedgewars.qrc |
|
236 |
||
8078 | 237 |
LIBS += -L../bin -lphysfs -lfrontlib |
7897 | 238 |
|
239 |
macx { |
|
240 |
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6 |
|
241 |
QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.6.sdk |
|
242 |
||
243 |
OBJECTIVE_SOURCES += ../QTfrontend/*.m ../QTfrontend/*.mm |
|
244 |
SOURCES += ../QTfrontend/AutoUpdater.cpp ../QTfrontend/InstallController.cpp \ |
|
245 |
../../build/QTfrontend/hwconsts.cpp |
|
246 |
HEADERS += ../QTfrontend/M3InstallController.h ../QTfrontend/M3Panel.h \ |
|
247 |
../QTfrontend/NSWorkspace_RBAdditions.h ../QTfrontend/AutoUpdater.h \ |
|
248 |
../QTfrontend/CocoaInitializer.h ../QTfrontend/InstallController.h \ |
|
249 |
../QTfrontend/SparkleAutoUpdater.h |
|
250 |
||
251 |
LIBS += -lobjc -framework AppKit -framework IOKit -framework Foundation -framework SDL -framework SDL_Mixer -framework Sparkle -DSPARKLE_ENABLED |
|
252 |
INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers /Library/Frameworks/SDL_Mixer.framework/Headers |
|
253 |
CONFIG += warn_on x86 |
|
254 |
#CONFIG += x86 ppc x86_64 ppc64 |
|
255 |
} |
|
256 |
||
257 |
win32 { |
|
258 |
RC_FILE = ../QTfrontend/hedgewars.rc |
|
259 |
SOURCES += ../QTfrontend/xfire.cpp |
|
260 |
INCLUDEPATH += ../misc/winutils/include |
|
261 |
LIBS += -L../misc/winutils/lib |
|
262 |
} |
|
263 |
||
264 |
!macx { |
|
8085
6c059add1560
Take care of parameter passed to FileEngine::fileName. Fixes problem with weird paths on windows.
unc0rr
parents:
8078
diff
changeset
|
265 |
LIBS += -lSDL -lSDL_mixer -lSDL_net |
7897 | 266 |
!win32 { |
267 |
INCLUDEPATH += /usr/local/include/SDL /usr/include/SDL |
|
268 |
} |
|
269 |
} |
|
270 |
||
271 |
FORMS += |