author | nemo |
Thu, 08 Nov 2012 15:54:11 -0500 | |
changeset 8012 | 2a61631a4505 |
parent 7998 | c0c3f117ad1b |
child 8019 | b216953c2617 |
permissions | -rw-r--r-- |
7897 | 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 |
|
12 |
INCLUDEPATH += ../misc/quazip/ |
|
13 |
||
14 |
DESTDIR = ../bin |
|
15 |
||
16 |
QT += network |
|
17 |
QT += webkit |
|
18 |
||
19 |
HEADERS += ../QTfrontend/model/ThemeModel.h \ |
|
20 |
../QTfrontend/model/MapModel.h \ |
|
21 |
../QTfrontend/model/ammoSchemeModel.h \ |
|
22 |
../QTfrontend/model/netserverslist.h \ |
|
23 |
../QTfrontend/ui/page/pagedrawmap.h \ |
|
24 |
../QTfrontend/ui/page/pagedata.h \ |
|
25 |
../QTfrontend/ui/page/pagetraining.h \ |
|
26 |
../QTfrontend/ui/page/pageselectweapon.h \ |
|
27 |
../QTfrontend/ui/page/pagesingleplayer.h \ |
|
28 |
../QTfrontend/ui/page/pagenettype.h \ |
|
29 |
../QTfrontend/ui/page/pageingame.h \ |
|
30 |
../QTfrontend/ui/page/pageadmin.h \ |
|
31 |
../QTfrontend/ui/page/pagescheme.h \ |
|
32 |
../QTfrontend/ui/page/pagemultiplayer.h \ |
|
33 |
../QTfrontend/ui/page/pageplayrecord.h \ |
|
34 |
../QTfrontend/ui/page/pagemain.h \ |
|
35 |
../QTfrontend/ui/page/pageoptions.h \ |
|
36 |
../QTfrontend/ui/page/pagenetgame.h \ |
|
37 |
../QTfrontend/ui/page/pageeditteam.h \ |
|
38 |
../QTfrontend/ui/page/pageconnecting.h \ |
|
39 |
../QTfrontend/ui/page/pageroomslist.h \ |
|
40 |
../QTfrontend/ui/page/pagenet.h \ |
|
41 |
../QTfrontend/ui/page/pagecampaign.h \ |
|
42 |
../QTfrontend/ui/page/pageinfo.h \ |
|
43 |
../QTfrontend/ui/page/pagenetserver.h \ |
|
44 |
../QTfrontend/ui/page/pagegamestats.h \ |
|
45 |
../QTfrontend/ui/dialog/input_ip.h \ |
|
46 |
../QTfrontend/ui/qaspectratiolayout.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/KB.h \ |
|
91 |
../QTfrontend/hwconsts.h \ |
|
92 |
../QTfrontend/sdlkeys.h \ |
|
93 |
../QTfrontend/ui/mouseoverfilter.h \ |
|
94 |
../QTfrontend/ui/qpushbuttonwithsound.h \ |
|
95 |
../QTfrontend/ui/widget/qpushbuttonwithsound.h \ |
|
96 |
../QTfrontend/ui/page/pagefeedback.h \ |
|
97 |
../QTfrontend/model/roomslistmodel.h \ |
|
98 |
../QTfrontend/ui/dialog/input_password.h \ |
|
99 |
../QTfrontend/ui/widget/colorwidget.h \ |
|
100 |
../QTfrontend/model/HatModel.h \ |
|
101 |
../QTfrontend/model/GameStyleModel.h \ |
|
102 |
../QTfrontend/ui/page/pagevideos.h \ |
|
103 |
../QTfrontend/net/recorder.h \ |
|
104 |
../QTfrontend/ui/dialog/ask_quit.h \ |
|
105 |
../QTfrontend/ui/dialog/upload_video.h \ |
|
106 |
../QTfrontend/campaign.h \ |
|
107 |
../QTfrontend/model/playerslistmodel.h \ |
|
108 |
../QTfrontend/util/LibavInteraction.h |
|
109 |
||
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
|
110 |
|
7897 | 111 |
SOURCES += ../QTfrontend/model/ammoSchemeModel.cpp \ |
112 |
../QTfrontend/model/MapModel.cpp \ |
|
113 |
../QTfrontend/model/ThemeModel.cpp \ |
|
114 |
../QTfrontend/model/netserverslist.cpp \ |
|
115 |
../QTfrontend/ui/qaspectratiolayout.cpp \ |
|
116 |
../QTfrontend/ui/page/pagemain.cpp \ |
|
117 |
../QTfrontend/ui/page/pagetraining.cpp \ |
|
118 |
../QTfrontend/ui/page/pageroomslist.cpp \ |
|
119 |
../QTfrontend/ui/page/pagemultiplayer.cpp \ |
|
120 |
../QTfrontend/ui/page/pagegamestats.cpp \ |
|
121 |
../QTfrontend/ui/page/pagenettype.cpp \ |
|
122 |
../QTfrontend/ui/page/pageeditteam.cpp \ |
|
123 |
../QTfrontend/ui/page/pagenetgame.cpp \ |
|
124 |
../QTfrontend/ui/page/pagedata.cpp \ |
|
125 |
../QTfrontend/ui/page/pagedrawmap.cpp \ |
|
126 |
../QTfrontend/ui/page/pageplayrecord.cpp \ |
|
127 |
../QTfrontend/ui/page/pageselectweapon.cpp \ |
|
128 |
../QTfrontend/ui/page/pageingame.cpp \ |
|
129 |
../QTfrontend/ui/page/pagenetserver.cpp \ |
|
130 |
../QTfrontend/ui/page/pagecampaign.cpp \ |
|
131 |
../QTfrontend/ui/page/pageadmin.cpp \ |
|
132 |
../QTfrontend/ui/page/pageinfo.cpp \ |
|
133 |
../QTfrontend/ui/page/pageconnecting.cpp \ |
|
134 |
../QTfrontend/ui/page/pagesingleplayer.cpp \ |
|
135 |
../QTfrontend/ui/page/pagenet.cpp \ |
|
136 |
../QTfrontend/ui/page/pagescheme.cpp \ |
|
137 |
../QTfrontend/ui/page/pageoptions.cpp \ |
|
138 |
../QTfrontend/ui/dialog/input_ip.cpp \ |
|
139 |
../QTfrontend/ui/widget/igbox.cpp \ |
|
140 |
../QTfrontend/ui/widget/selectWeapon.cpp \ |
|
141 |
../QTfrontend/ui/widget/FreqSpinBox.cpp \ |
|
142 |
../QTfrontend/ui/widget/SquareLabel.cpp \ |
|
143 |
../QTfrontend/ui/widget/frameTeam.cpp \ |
|
144 |
../QTfrontend/ui/widget/fpsedit.cpp \ |
|
145 |
../QTfrontend/ui/widget/databrowser.cpp \ |
|
146 |
../QTfrontend/ui/widget/teamselect.cpp \ |
|
147 |
../QTfrontend/ui/widget/gamecfgwidget.cpp \ |
|
148 |
../QTfrontend/ui/widget/chatwidget.cpp \ |
|
149 |
../QTfrontend/ui/widget/itemNum.cpp \ |
|
150 |
../QTfrontend/ui/widget/bgwidget.cpp \ |
|
151 |
../QTfrontend/ui/widget/about.cpp \ |
|
152 |
../QTfrontend/ui/widget/togglebutton.cpp \ |
|
153 |
../QTfrontend/ui/widget/vertScrollArea.cpp \ |
|
154 |
../QTfrontend/ui/widget/hedgehogerWidget.cpp \ |
|
155 |
../QTfrontend/ui/widget/teamselhelper.cpp \ |
|
156 |
../QTfrontend/ui/widget/drawmapwidget.cpp \ |
|
157 |
../QTfrontend/ui/widget/weaponItem.cpp \ |
|
158 |
../QTfrontend/ui/widget/mapContainer.cpp \ |
|
159 |
../QTfrontend/ui/widget/HistoryLineEdit.cpp \ |
|
160 |
../QTfrontend/ui/widget/SmartLineEdit.cpp \ |
|
161 |
../QTfrontend/util/DataManager.cpp \ |
|
162 |
../QTfrontend/net/tcpBase.cpp \ |
|
163 |
../QTfrontend/net/netregister.cpp \ |
|
164 |
../QTfrontend/net/proto.cpp \ |
|
165 |
../QTfrontend/net/hwmap.cpp \ |
|
166 |
../QTfrontend/net/netudpserver.cpp \ |
|
167 |
../QTfrontend/net/newnetclient.cpp \ |
|
168 |
../QTfrontend/net/netudpwidget.cpp \ |
|
169 |
../QTfrontend/net/netserver.cpp \ |
|
170 |
../QTfrontend/util/namegen.cpp \ |
|
171 |
../QTfrontend/ui/page/AbstractPage.cpp \ |
|
172 |
../QTfrontend/achievements.cpp \ |
|
173 |
../QTfrontend/binds.cpp \ |
|
174 |
../QTfrontend/drawmapscene.cpp \ |
|
175 |
../QTfrontend/game.cpp \ |
|
176 |
../QTfrontend/gameuiconfig.cpp \ |
|
177 |
../QTfrontend/HWApplication.cpp \ |
|
178 |
../QTfrontend/hwform.cpp \ |
|
179 |
../QTfrontend/main.cpp \ |
|
180 |
../QTfrontend/util/SDLInteraction.cpp \ |
|
181 |
../QTfrontend/team.cpp \ |
|
182 |
../QTfrontend/ui_hwform.cpp \ |
|
183 |
../QTfrontend/hwconsts.cpp \ |
|
184 |
../QTfrontend/ui/mouseoverfilter.cpp \ |
|
185 |
../QTfrontend/ui/widget/qpushbuttonwithsound.cpp \ |
|
186 |
../QTfrontend/ui/page/pagefeedback.cpp \ |
|
187 |
../QTfrontend/model/roomslistmodel.cpp \ |
|
188 |
../QTfrontend/ui/dialog/input_password.cpp \ |
|
189 |
../QTfrontend/ui/widget/colorwidget.cpp \ |
|
190 |
../QTfrontend/model/HatModel.cpp \ |
|
191 |
../QTfrontend/model/GameStyleModel.cpp \ |
|
192 |
../QTfrontend/ui/page/pagevideos.cpp \ |
|
193 |
../QTfrontend/net/recorder.cpp \ |
|
194 |
../QTfrontend/ui/dialog/ask_quit.cpp \ |
|
195 |
../QTfrontend/ui/dialog/upload_video.cpp \ |
|
196 |
../QTfrontend/campaign.cpp \ |
|
197 |
../QTfrontend/model/playerslistmodel.cpp \ |
|
198 |
../QTfrontend/util/LibavInteraction.cpp |
|
199 |
||
200 |
||
201 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ar.ts \ |
|
202 |
../share/hedgewars/Data/Locale/hedgewars_bg.ts \ |
|
203 |
../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
|
204 |
../share/hedgewars/Data/Locale/hedgewars_da.ts \ |
7897 | 205 |
../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
|
206 |
../share/hedgewars/Data/Locale/hedgewars_el.ts \ |
7897 | 207 |
../share/hedgewars/Data/Locale/hedgewars_en.ts \ |
208 |
../share/hedgewars/Data/Locale/hedgewars_es.ts \ |
|
209 |
../share/hedgewars/Data/Locale/hedgewars_fi.ts \ |
|
210 |
../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
|
211 |
../share/hedgewars/Data/Locale/hedgewars_gl.ts \ |
7897 | 212 |
../share/hedgewars/Data/Locale/hedgewars_hu.ts \ |
213 |
../share/hedgewars/Data/Locale/hedgewars_it.ts \ |
|
214 |
../share/hedgewars/Data/Locale/hedgewars_ja.ts \ |
|
215 |
../share/hedgewars/Data/Locale/hedgewars_ko.ts \ |
|
216 |
../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
|
217 |
../share/hedgewars/Data/Locale/hedgewars_ms.ts \ |
7897 | 218 |
../share/hedgewars/Data/Locale/hedgewars_nl.ts \ |
219 |
../share/hedgewars/Data/Locale/hedgewars_pl.ts \ |
|
220 |
../share/hedgewars/Data/Locale/hedgewars_pt_BR.ts \ |
|
221 |
../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
|
222 |
../share/hedgewars/Data/Locale/hedgewars_ro.ts \ |
7897 | 223 |
../share/hedgewars/Data/Locale/hedgewars_ru.ts \ |
224 |
../share/hedgewars/Data/Locale/hedgewars_sk.ts \ |
|
225 |
../share/hedgewars/Data/Locale/hedgewars_sv.ts \ |
|
226 |
../share/hedgewars/Data/Locale/hedgewars_tr_TR.ts \ |
|
227 |
../share/hedgewars/Data/Locale/hedgewars_uk.ts \ |
|
228 |
../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
|
229 |
../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts |
7897 | 230 |
|
231 |
RESOURCES += ../QTfrontend/hedgewars.qrc |
|
232 |
||
233 |
LIBS += -L../bin -lquazip |
|
234 |
||
235 |
macx { |
|
236 |
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6 |
|
237 |
QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.6.sdk |
|
238 |
||
239 |
OBJECTIVE_SOURCES += ../QTfrontend/*.m ../QTfrontend/*.mm |
|
240 |
SOURCES += ../QTfrontend/AutoUpdater.cpp ../QTfrontend/InstallController.cpp \ |
|
241 |
../../build/QTfrontend/hwconsts.cpp |
|
242 |
HEADERS += ../QTfrontend/M3InstallController.h ../QTfrontend/M3Panel.h \ |
|
243 |
../QTfrontend/NSWorkspace_RBAdditions.h ../QTfrontend/AutoUpdater.h \ |
|
244 |
../QTfrontend/CocoaInitializer.h ../QTfrontend/InstallController.h \ |
|
245 |
../QTfrontend/SparkleAutoUpdater.h |
|
246 |
||
247 |
LIBS += -lobjc -framework AppKit -framework IOKit -framework Foundation -framework SDL -framework SDL_Mixer -framework Sparkle -DSPARKLE_ENABLED |
|
248 |
INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers /Library/Frameworks/SDL_Mixer.framework/Headers |
|
249 |
CONFIG += warn_on x86 |
|
250 |
#CONFIG += x86 ppc x86_64 ppc64 |
|
251 |
} |
|
252 |
||
253 |
win32 { |
|
254 |
RC_FILE = ../QTfrontend/hedgewars.rc |
|
255 |
SOURCES += ../QTfrontend/xfire.cpp |
|
256 |
INCLUDEPATH += ../misc/winutils/include |
|
257 |
LIBS += -L../misc/winutils/lib |
|
258 |
} |
|
259 |
||
260 |
!macx { |
|
261 |
LIBS += -lSDL -lSDL_mixer |
|
262 |
!win32 { |
|
263 |
INCLUDEPATH += /usr/local/include/SDL /usr/include/SDL |
|
264 |
} |
|
265 |
} |
|
266 |
||
267 |
FORMS += |