1 TEMPLATE = app |
|
2 TARGET = hedgewars |
|
3 DEPENDPATH += . |
|
4 INCLUDEPATH += . |
|
5 DESTDIR = ../bin |
|
6 |
|
7 win32 { |
|
8 RC_FILE = ./res/hedgewars.rc |
|
9 } |
|
10 |
|
11 QT += network svg xml |
|
12 |
|
13 HEADERS += KB.h SDLs.h SquareLabel.h \ |
|
14 about.h ammoSchemeModel.h \ |
|
15 bgwidget.h binds.h \ |
|
16 chatwidget.h \ |
|
17 fpsedit.h frameTeam.h \ |
|
18 game.h gamecfgwidget.h gameuiconfig.h \ |
|
19 hats.h hedgehogerWidget.h hwconsts.h hwform.h hwmap.h \ |
|
20 igbox.h input_ip.h itemNum.h \ |
|
21 mapContainer.h misc.h \ |
|
22 namegen.h netregister.h netserver.h netserverslist.h \ |
|
23 netudpserver.h netudpwidget.h newnetclient.h \ |
|
24 pages.h playrecordpage.h predefteams.h proto.h \ |
|
25 sdlkeys.h selectWeapon.h statsPage.h \ |
|
26 tcpBase.h team.h teamselect.h teamselhelper.h togglebutton.h \ |
|
27 ui_hwform.h \ |
|
28 vertScrollArea.h \ |
|
29 weaponItem.h |
|
30 |
|
31 |
|
32 SOURCES += SDLs.cpp SquareLabel.cpp \ |
|
33 about.cpp ammoSchemeModel.cpp \ |
|
34 bgwidget.cpp binds.cpp \ |
|
35 chatwidget.cpp \ |
|
36 fpsedit.cpp frameTeam.cpp \ |
|
37 game.cpp gamecfgwidget.cpp gameuiconfig.cpp \ |
|
38 hats.cpp hedgehogerWidget.cpp hwconsts.cpp hwform.cpp hwmap.cpp \ |
|
39 igbox.cpp input_ip.cpp itemNum.cpp \ |
|
40 main.cpp mapContainer.cpp misc.cpp \ |
|
41 namegen.cpp netregister.cpp netserver.cpp netserverslist.cpp \ |
|
42 netudpserver.cpp netudpwidget.cpp newnetclient.cpp \ |
|
43 pages.cpp playrecordpage.cpp proto.cpp \ |
|
44 selectWeapon.cpp statsPage.cpp \ |
|
45 tcpBase.cpp team.cpp teamselect.cpp teamselhelper.cpp togglebutton.cpp \ |
|
46 ui_hwform.cpp \ |
|
47 vertScrollArea.cpp \ |
|
48 weaponItem.cpp |
|
49 |
|
50 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_bg.ts |
|
51 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_de.ts |
|
52 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_cs.ts |
|
53 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_en.ts |
|
54 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_es.ts |
|
55 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fi.ts |
|
56 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fr.ts |
|
57 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_it.ts |
|
58 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ja.ts |
|
59 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pl.ts |
|
60 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_BR.ts |
|
61 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_PT.ts |
|
62 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ru.ts |
|
63 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sk.ts |
|
64 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sv.ts |
|
65 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_tr_TR.ts |
|
66 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_uk.ts |
|
67 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_CN.ts |
|
68 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts |
|
69 |
|
70 RESOURCES += hedgewars.qrc |
|
71 |
|
72 !macx{ |
|
73 LIBS += -lSDL -lopenalbridge |
|
74 }else{ |
|
75 LIBS += -framework SDL -framework OpenAL -framework Ogg -framework Vorbis -lopenalbridge |
|
76 INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers |
|
77 CONFIG += warn_on x86 |
|
78 |
|
79 #-framework Sparkle |
|
80 #SOURCES += AutoUpdater.cpp CocoaInitializer.mm SparkleAutoUpdater.mm |
|
81 #HEADERS += AutoUpdater.h CocoaInitializer.h SparkleAutoUpdater.h |
|
82 |
|
83 #CONFIG += x86 ppc x86_64 ppc64 |
|
84 } |
|