project_files/hedgewars.pro
author unc0rr
Sun, 18 Oct 2009 14:12:21 +0000
changeset 2543 bf1da5037433
parent 2525 e6cdc0251cd1
child 2545 853fa5312886
permissions -rw-r--r--
- lupdate && lrelease - some fixes
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
2543
bf1da5037433 - lupdate && lrelease
unc0rr
parents: 2525
diff changeset
    15
bf1da5037433 - lupdate && lrelease
unc0rr
parents: 2525
diff changeset
    16
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_bg.ts
bf1da5037433 - lupdate && lrelease
unc0rr
parents: 2525
diff changeset
    17
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_de.ts
bf1da5037433 - lupdate && lrelease
unc0rr
parents: 2525
diff changeset
    18
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_cs.ts
bf1da5037433 - lupdate && lrelease
unc0rr
parents: 2525
diff changeset
    19
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_en.ts
bf1da5037433 - lupdate && lrelease
unc0rr
parents: 2525
diff changeset
    20
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_es.ts
bf1da5037433 - lupdate && lrelease
unc0rr
parents: 2525
diff changeset
    21
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fi.ts
bf1da5037433 - lupdate && lrelease
unc0rr
parents: 2525
diff changeset
    22
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fr.ts
bf1da5037433 - lupdate && lrelease
unc0rr
parents: 2525
diff changeset
    23
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_it.ts
bf1da5037433 - lupdate && lrelease
unc0rr
parents: 2525
diff changeset
    24
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ja.ts
bf1da5037433 - lupdate && lrelease
unc0rr
parents: 2525
diff changeset
    25
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pl.ts
bf1da5037433 - lupdate && lrelease
unc0rr
parents: 2525
diff changeset
    26
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_BR.ts
bf1da5037433 - lupdate && lrelease
unc0rr
parents: 2525
diff changeset
    27
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_PT.ts
bf1da5037433 - lupdate && lrelease
unc0rr
parents: 2525
diff changeset
    28
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ru.ts
bf1da5037433 - lupdate && lrelease
unc0rr
parents: 2525
diff changeset
    29
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sk.ts
bf1da5037433 - lupdate && lrelease
unc0rr
parents: 2525
diff changeset
    30
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sv.ts
bf1da5037433 - lupdate && lrelease
unc0rr
parents: 2525
diff changeset
    31
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_tr_TR.ts
bf1da5037433 - lupdate && lrelease
unc0rr
parents: 2525
diff changeset
    32
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_uk.ts
bf1da5037433 - lupdate && lrelease
unc0rr
parents: 2525
diff changeset
    33
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_CN.ts
bf1da5037433 - lupdate && lrelease
unc0rr
parents: 2525
diff changeset
    34
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts
bf1da5037433 - lupdate && lrelease
unc0rr
parents: 2525
diff changeset
    35
2522
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    36
RESOURCES += ../QTfrontend/hedgewars.qrc
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    37
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    38
!macx {
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    39
	LIBS += -lSDL -lSDL_Mixer
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    40
} else {
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    41
	QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    42
	QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    43
	
2543
bf1da5037433 - lupdate && lrelease
unc0rr
parents: 2525
diff changeset
    44
	OBJECTIVE_SOURCES= ../QTfrontend/*.m ../QTfrontend/*.mm
2522
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    45
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    46
	LIBS += -framework IOKit -framework SDL -framework SDL_Mixer -framework Sparkle -DSPARKLE_ENABLED 
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    47
	INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers /Library/Frameworks/SDL_Mixer.framework/Headers
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    48
	CONFIG += warn_on x86
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    49
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    50
 	#CONFIG += x86 ppc x86_64 ppc64
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    51
}