author | koda |
Sat, 08 Dec 2012 15:35:03 +0100 | |
changeset 8270 | 16a52ad5a362 |
parent 8223 | 14d9a3c33650 |
child 8278 | 9cdfcb5b7ddd |
child 8362 | 89a6b7cc6f95 |
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 |
|
12 |
INCLUDEPATH += ../misc/physfs/src |
|
13 |
INCLUDEPATH += ../misc/physfs/extras |
|
14 |
||
15 |
DESTDIR = ../bin |
|
16 |
||
17 |
QT += network |
|
18 |
QT += webkit |
|
19 |
||
20 |
HEADERS += ../QTfrontend/model/ThemeModel.h \ |
|
21 |
../QTfrontend/model/MapModel.h \ |
|
22 |
../QTfrontend/model/ammoSchemeModel.h \ |
|
23 |
../QTfrontend/model/netserverslist.h \ |
|
24 |
../QTfrontend/ui/page/pagedrawmap.h \ |
|
25 |
../QTfrontend/ui/page/pagedata.h \ |
|
26 |
../QTfrontend/ui/page/pagetraining.h \ |
|
27 |
../QTfrontend/ui/page/pageselectweapon.h \ |
|
28 |
../QTfrontend/ui/page/pagesingleplayer.h \ |
|
29 |
../QTfrontend/ui/page/pagenettype.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/qaspectratiolayout.h \ |
|
48 |
../QTfrontend/ui/widget/bgwidget.h \ |
|
49 |
../QTfrontend/ui/widget/fpsedit.h \ |
|
50 |
../QTfrontend/ui/widget/FreqSpinBox.h \ |
|
51 |
../QTfrontend/ui/widget/igbox.h \ |
|
52 |
../QTfrontend/ui/widget/chatwidget.h \ |
|
53 |
../QTfrontend/ui/widget/togglebutton.h \ |
|
54 |
../QTfrontend/ui/widget/SquareLabel.h \ |
|
55 |
../QTfrontend/ui/widget/itemNum.h \ |
|
56 |
../QTfrontend/ui/widget/frameTeam.h \ |
|
57 |
../QTfrontend/ui/widget/teamselect.h \ |
|
58 |
../QTfrontend/ui/widget/vertScrollArea.h \ |
|
59 |
../QTfrontend/ui/widget/about.h \ |
|
60 |
../QTfrontend/ui/widget/teamselhelper.h \ |
|
61 |
../QTfrontend/ui/widget/drawmapwidget.h \ |
|
62 |
../QTfrontend/ui/widget/databrowser.h \ |
|
63 |
../QTfrontend/ui/widget/hedgehogerWidget.h \ |
|
64 |
../QTfrontend/ui/widget/selectWeapon.h \ |
|
65 |
../QTfrontend/ui/widget/weaponItem.h \ |
|
66 |
../QTfrontend/ui/widget/gamecfgwidget.h \ |
|
67 |
../QTfrontend/ui/widget/mapContainer.h \ |
|
68 |
../QTfrontend/ui/widget/HistoryLineEdit.h \ |
|
69 |
../QTfrontend/ui/widget/SmartLineEdit.h \ |
|
70 |
../QTfrontend/util/DataManager.h \ |
|
71 |
../QTfrontend/net/netregister.h \ |
|
72 |
../QTfrontend/net/netserver.h \ |
|
73 |
../QTfrontend/net/netudpwidget.h \ |
|
74 |
../QTfrontend/net/tcpBase.h \ |
|
75 |
../QTfrontend/net/proto.h \ |
|
76 |
../QTfrontend/net/newnetclient.h \ |
|
77 |
../QTfrontend/net/netudpserver.h \ |
|
78 |
../QTfrontend/net/hwmap.h \ |
|
79 |
../QTfrontend/util/namegen.h \ |
|
80 |
../QTfrontend/ui/page/AbstractPage.h \ |
|
81 |
../QTfrontend/drawmapscene.h \ |
|
82 |
../QTfrontend/game.h \ |
|
83 |
../QTfrontend/gameuiconfig.h \ |
|
84 |
../QTfrontend/HWApplication.h \ |
|
85 |
../QTfrontend/hwform.h \ |
|
86 |
../QTfrontend/util/SDLInteraction.h \ |
|
87 |
../QTfrontend/team.h \ |
|
88 |
../QTfrontend/achievements.h \ |
|
89 |
../QTfrontend/binds.h \ |
|
90 |
../QTfrontend/ui_hwform.h \ |
|
91 |
../QTfrontend/KB.h \ |
|
92 |
../QTfrontend/hwconsts.h \ |
|
93 |
../QTfrontend/sdlkeys.h \ |
|
94 |
../QTfrontend/ui/mouseoverfilter.h \ |
|
95 |
../QTfrontend/ui/qpushbuttonwithsound.h \ |
|
96 |
../QTfrontend/ui/widget/qpushbuttonwithsound.h \ |
|
97 |
../QTfrontend/ui/page/pagefeedback.h \ |
|
98 |
../QTfrontend/model/roomslistmodel.h \ |
|
99 |
../QTfrontend/ui/dialog/input_password.h \ |
|
100 |
../QTfrontend/ui/widget/colorwidget.h \ |
|
101 |
../QTfrontend/model/HatModel.h \ |
|
102 |
../QTfrontend/model/GameStyleModel.h \ |
|
103 |
../QTfrontend/ui/page/pagevideos.h \ |
|
104 |
../QTfrontend/net/recorder.h \ |
|
105 |
../QTfrontend/ui/dialog/ask_quit.h \ |
|
106 |
../QTfrontend/ui/dialog/upload_video.h \ |
|
107 |
../QTfrontend/campaign.h \ |
|
108 |
../QTfrontend/model/playerslistmodel.h \ |
|
109 |
../QTfrontend/util/LibavInteraction.h \ |
|
110 |
../QTfrontend/util/FileEngine.h \ |
|
111 |
../QTfrontend/ui/dialog/bandialog.h |
|
112 |
||
113 |
||
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 \ |
|
201 |
../QTfrontend/util/LibavInteraction.cpp \ |
|
202 |
../QTfrontend/util/FileEngine.cpp \ |
|
203 |
../QTfrontend/ui/dialog/bandialog.cpp |
|
204 |
||
205 |
||
206 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ar.ts \ |
|
207 |
../share/hedgewars/Data/Locale/hedgewars_bg.ts \ |
|
208 |
../share/hedgewars/Data/Locale/hedgewars_cs.ts \ |
|
209 |
../share/hedgewars/Data/Locale/hedgewars_da.ts \ |
|
210 |
../share/hedgewars/Data/Locale/hedgewars_de.ts \ |
|
211 |
../share/hedgewars/Data/Locale/hedgewars_el.ts \ |
|
212 |
../share/hedgewars/Data/Locale/hedgewars_en.ts \ |
|
213 |
../share/hedgewars/Data/Locale/hedgewars_es.ts \ |
|
214 |
../share/hedgewars/Data/Locale/hedgewars_fi.ts \ |
|
215 |
../share/hedgewars/Data/Locale/hedgewars_fr.ts \ |
|
216 |
../share/hedgewars/Data/Locale/hedgewars_gl.ts \ |
|
217 |
../share/hedgewars/Data/Locale/hedgewars_hu.ts \ |
|
218 |
../share/hedgewars/Data/Locale/hedgewars_it.ts \ |
|
219 |
../share/hedgewars/Data/Locale/hedgewars_ja.ts \ |
|
220 |
../share/hedgewars/Data/Locale/hedgewars_ko.ts \ |
|
221 |
../share/hedgewars/Data/Locale/hedgewars_lt.ts \ |
|
222 |
../share/hedgewars/Data/Locale/hedgewars_ms.ts \ |
|
223 |
../share/hedgewars/Data/Locale/hedgewars_nl.ts \ |
|
224 |
../share/hedgewars/Data/Locale/hedgewars_pl.ts \ |
|
225 |
../share/hedgewars/Data/Locale/hedgewars_pt_BR.ts \ |
|
226 |
../share/hedgewars/Data/Locale/hedgewars_pt_PT.ts \ |
|
227 |
../share/hedgewars/Data/Locale/hedgewars_ro.ts \ |
|
228 |
../share/hedgewars/Data/Locale/hedgewars_ru.ts \ |
|
229 |
../share/hedgewars/Data/Locale/hedgewars_sk.ts \ |
|
230 |
../share/hedgewars/Data/Locale/hedgewars_sv.ts \ |
|
231 |
../share/hedgewars/Data/Locale/hedgewars_tr_TR.ts \ |
|
232 |
../share/hedgewars/Data/Locale/hedgewars_uk.ts \ |
|
233 |
../share/hedgewars/Data/Locale/hedgewars_zh_CN.ts \ |
|
234 |
../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts |
|
235 |
||
236 |
RESOURCES += ../QTfrontend/hedgewars.qrc |
|
237 |
||
8223
14d9a3c33650
backout rea7541f77944 since development of frontlib is on another branch
koda
parents:
8157
diff
changeset
|
238 |
LIBS += -L../bin -lphysfs |
8157 | 239 |
|
240 |
macx { |
|
241 |
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6 |
|
242 |
QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.6.sdk |
|
243 |
||
244 |
OBJECTIVE_SOURCES += ../QTfrontend/*.m ../QTfrontend/*.mm |
|
245 |
SOURCES += ../QTfrontend/AutoUpdater.cpp ../QTfrontend/InstallController.cpp \ |
|
246 |
../../build/QTfrontend/hwconsts.cpp |
|
247 |
HEADERS += ../QTfrontend/M3InstallController.h ../QTfrontend/M3Panel.h \ |
|
248 |
../QTfrontend/NSWorkspace_RBAdditions.h ../QTfrontend/AutoUpdater.h \ |
|
249 |
../QTfrontend/CocoaInitializer.h ../QTfrontend/InstallController.h \ |
|
250 |
../QTfrontend/SparkleAutoUpdater.h |
|
251 |
||
252 |
LIBS += -lobjc -framework AppKit -framework IOKit -framework Foundation -framework SDL -framework SDL_Mixer -framework Sparkle -DSPARKLE_ENABLED |
|
253 |
INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers /Library/Frameworks/SDL_Mixer.framework/Headers |
|
254 |
CONFIG += warn_on x86 |
|
255 |
#CONFIG += x86 ppc x86_64 ppc64 |
|
256 |
} |
|
257 |
||
258 |
win32 { |
|
259 |
RC_FILE = ../QTfrontend/hedgewars.rc |
|
260 |
SOURCES += ../QTfrontend/xfire.cpp |
|
261 |
INCLUDEPATH += ../misc/winutils/include |
|
262 |
LIBS += -L../misc/winutils/lib |
|
263 |
} |
|
264 |
||
265 |
!macx { |
|
266 |
LIBS += -lSDL -lSDL_mixer -lSDL_net |
|
267 |
!win32 { |
|
268 |
INCLUDEPATH += /usr/local/include/SDL /usr/include/SDL |
|
269 |
} |
|
270 |
} |
|
271 |
||
272 |
FORMS += |