2522
|
1 |
TEMPLATE = app
|
|
2 |
TARGET = hedgewars
|
|
3 |
DEPENDPATH += ../QTfrontend/
|
|
4 |
INCLUDEPATH += ../QTfrontend/
|
|
5 |
DESTDIR = .
|
|
6 |
|
|
7 |
win32 {
|
|
8 |
RC_FILE = ../QTfrontend/res/hedgewars.rc
|
|
9 |
}
|
|
10 |
|
2525
|
11 |
QT += network
|
2522
|
12 |
|
|
13 |
HEADERS += ../QTfrontend/*.h
|
|
14 |
SOURCES += ../QTfrontend/*.cpp
|
2543
|
15 |
|
|
16 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_bg.ts
|
|
17 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_de.ts
|
|
18 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_cs.ts
|
|
19 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_en.ts
|
|
20 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_es.ts
|
|
21 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fi.ts
|
|
22 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fr.ts
|
|
23 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_it.ts
|
|
24 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ja.ts
|
|
25 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pl.ts
|
|
26 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_BR.ts
|
|
27 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_PT.ts
|
|
28 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ru.ts
|
|
29 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sk.ts
|
|
30 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sv.ts
|
|
31 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_tr_TR.ts
|
|
32 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_uk.ts
|
|
33 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_CN.ts
|
|
34 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts
|
|
35 |
|
2522
|
36 |
RESOURCES += ../QTfrontend/hedgewars.qrc
|
|
37 |
|
|
38 |
!macx {
|
|
39 |
LIBS += -lSDL -lSDL_Mixer
|
|
40 |
} else {
|
|
41 |
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4
|
|
42 |
QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk
|
|
43 |
|
2543
|
44 |
OBJECTIVE_SOURCES= ../QTfrontend/*.m ../QTfrontend/*.mm
|
2522
|
45 |
|
|
46 |
LIBS += -framework IOKit -framework SDL -framework SDL_Mixer -framework Sparkle -DSPARKLE_ENABLED
|
|
47 |
INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers /Library/Frameworks/SDL_Mixer.framework/Headers
|
|
48 |
CONFIG += warn_on x86
|
|
49 |
|
|
50 |
#CONFIG += x86 ppc x86_64 ppc64
|
|
51 |
}
|