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
|
|
15 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/*.ts
|
|
16 |
RESOURCES += ../QTfrontend/hedgewars.qrc
|
|
17 |
|
|
18 |
!macx {
|
|
19 |
LIBS += -lSDL -lSDL_Mixer
|
|
20 |
} else {
|
|
21 |
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4
|
|
22 |
QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk
|
|
23 |
|
|
24 |
OBJECTIVE_SOURCES= ../QTfrontend/*.m ../QTfrontend/*.mm
|
|
25 |
|
|
26 |
LIBS += -framework IOKit -framework SDL -framework SDL_Mixer -framework Sparkle -DSPARKLE_ENABLED
|
|
27 |
INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers /Library/Frameworks/SDL_Mixer.framework/Headers
|
|
28 |
CONFIG += warn_on x86
|
|
29 |
|
|
30 |
#CONFIG += x86 ppc x86_64 ppc64
|
|
31 |
}
|