project_files/hedgewars.pro
author nemo
Sun, 18 Oct 2009 00:58:18 +0000
changeset 2533 36801e5e90d1
parent 2525 e6cdc0251cd1
child 2543 bf1da5037433
permissions -rw-r--r--
Updated translation and waves
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2522
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
     1
TEMPLATE = app
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
     2
TARGET = hedgewars
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
     3
DEPENDPATH += ../QTfrontend/
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
     4
INCLUDEPATH += ../QTfrontend/
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
     5
DESTDIR = .
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
     6
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
     7
win32 {
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
     8
	RC_FILE	= ../QTfrontend/res/hedgewars.rc
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
     9
}
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    10
2525
e6cdc0251cd1 remove the svg dependency
koda
parents: 2523
diff changeset
    11
QT += network
2522
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    12
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    13
HEADERS += ../QTfrontend/*.h
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    14
SOURCES += ../QTfrontend/*.cpp
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    15
TRANSLATIONS += ../share/hedgewars/Data/Locale/*.ts
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    16
RESOURCES += ../QTfrontend/hedgewars.qrc
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    17
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    18
!macx {
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    19
	LIBS += -lSDL -lSDL_Mixer
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    20
} else {
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    21
	QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    22
	QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    23
	
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    24
	OBJECTIVE_SOURCES= ../QTfrontend/*.m ../QTfrontend/*.mm 
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    25
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    26
	LIBS += -framework IOKit -framework SDL -framework SDL_Mixer -framework Sparkle -DSPARKLE_ENABLED 
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    27
	INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers /Library/Frameworks/SDL_Mixer.framework/Headers
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    28
	CONFIG += warn_on x86
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    29
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    30
 	#CONFIG += x86 ppc x86_64 ppc64
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    31
}