QTfrontend/hedgewars.pro
author koda
Sat, 26 Sep 2009 20:54:13 +0000
changeset 2395 d01d3bf3e1de
parent 2394 0f8de781fc34
permissions -rw-r--r--
makes the updater optional at compile time
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1369
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
     1
TEMPLATE = app
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
     2
TARGET = hedgewars
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
     3
DEPENDPATH += .
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
     4
INCLUDEPATH += .
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
     5
DESTDIR = ../bin
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
     6
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
     7
win32 {
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
     8
	RC_FILE	= ./res/hedgewars.rc
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
     9
}
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    10
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    11
QT += network svg xml
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    12
2394
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    13
HEADERS += 	KB.h SDLs.h SquareLabel.h \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    14
		about.h ammoSchemeModel.h \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    15
		bgwidget.h binds.h \
1673
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    16
		chatwidget.h \
2394
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    17
		fpsedit.h frameTeam.h \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    18
		game.h gamecfgwidget.h gameuiconfig.h \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    19
		hats.h hedgehogerWidget.h hwconsts.h hwform.h hwmap.h \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    20
		igbox.h input_ip.h itemNum.h \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    21
		mapContainer.h misc.h \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    22
		namegen.h netregister.h netserver.h netserverslist.h \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    23
		netudpserver.h netudpwidget.h newnetclient.h \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    24
		pages.h playrecordpage.h predefteams.h proto.h \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    25
		sdlkeys.h selectWeapon.h statsPage.h \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    26
		tcpBase.h team.h teamselect.h teamselhelper.h togglebutton.h \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    27
		ui_hwform.h \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    28
		vertScrollArea.h \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    29
		weaponItem.h
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    30
1369
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    31
2394
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    32
SOURCES +=	SDLs.cpp SquareLabel.cpp \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    33
		about.cpp ammoSchemeModel.cpp \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    34
		bgwidget.cpp binds.cpp \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    35
		chatwidget.cpp \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    36
		fpsedit.cpp frameTeam.cpp \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    37
		game.cpp gamecfgwidget.cpp gameuiconfig.cpp \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    38
		hats.cpp hedgehogerWidget.cpp hwconsts.cpp hwform.cpp hwmap.cpp \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    39
		igbox.cpp input_ip.cpp itemNum.cpp \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    40
		main.cpp mapContainer.cpp misc.cpp \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    41
		namegen.cpp netregister.cpp netserver.cpp netserverslist.cpp \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    42
		netudpserver.cpp netudpwidget.cpp newnetclient.cpp \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    43
		pages.cpp playrecordpage.cpp proto.cpp \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    44
		selectWeapon.cpp statsPage.cpp \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    45
		tcpBase.cpp team.cpp teamselect.cpp teamselhelper.cpp togglebutton.cpp \
1673
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    46
		ui_hwform.cpp \
2394
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    47
		vertScrollArea.cpp \
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    48
		weaponItem.cpp
1369
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    49
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    50
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_bg.ts
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    51
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_de.ts
1422
95efe8819892 Add Czech translation
unc0rr
parents: 1374
diff changeset
    52
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_cs.ts
1674
b6d609815378 Add English translation (needed to support plural forms)
unc0rr
parents: 1673
diff changeset
    53
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_en.ts
1484
c01512115c12 - Add es and sv translations to hedgewars.pro
unc0rr
parents: 1422
diff changeset
    54
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_es.ts
1796
4bcdf0bf58b8 Finnish translation
unc0rr
parents: 1699
diff changeset
    55
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fi.ts
1369
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    56
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fr.ts
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    57
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_it.ts
1699
15ff0435ea50 Japanese translation
unc0rr
parents: 1674
diff changeset
    58
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ja.ts
1369
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    59
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pl.ts
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    60
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_BR.ts
2093
485e084cedc4 Portugese (european) translation, Tiy's "minefield" scheme/wepset, disable vampirism, update translations
nemo
parents: 2003
diff changeset
    61
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_PT.ts
1369
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    62
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ru.ts
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    63
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sk.ts
1484
c01512115c12 - Add es and sv translations to hedgewars.pro
unc0rr
parents: 1422
diff changeset
    64
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sv.ts
1803
95efe37482e3 Update translations
unc0rr
parents: 1796
diff changeset
    65
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_tr_TR.ts
1369
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    66
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_uk.ts
1550
2331fe280aef Add Chinese translation
unc0rr
parents: 1484
diff changeset
    67
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_CN.ts
1583
30257fe3f9e9 - zh_TW translation
unc0rr
parents: 1550
diff changeset
    68
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts
1369
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    69
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    70
RESOURCES += hedgewars.qrc
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    71
2002
37c71f5983c9 patch by koda:
unc0rr
parents: 1943
diff changeset
    72
!macx{
2394
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    73
	LIBS += -lSDL -lopenalbridge
2002
37c71f5983c9 patch by koda:
unc0rr
parents: 1943
diff changeset
    74
}else{
2395
d01d3bf3e1de makes the updater optional at compile time
koda
parents: 2394
diff changeset
    75
	LIBS += -framework SDL -framework OpenAL -framework Ogg -framework Vorbis -lopenalbridge 
2394
0f8de781fc34 lupdate + a working .pro file
koda
parents: 2093
diff changeset
    76
	INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers
2395
d01d3bf3e1de makes the updater optional at compile time
koda
parents: 2394
diff changeset
    77
	CONFIG += warn_on x86
d01d3bf3e1de makes the updater optional at compile time
koda
parents: 2394
diff changeset
    78
d01d3bf3e1de makes the updater optional at compile time
koda
parents: 2394
diff changeset
    79
	#-framework Sparkle
d01d3bf3e1de makes the updater optional at compile time
koda
parents: 2394
diff changeset
    80
	#SOURCES += AutoUpdater.cpp CocoaInitializer.mm SparkleAutoUpdater.mm
d01d3bf3e1de makes the updater optional at compile time
koda
parents: 2394
diff changeset
    81
	#HEADERS += AutoUpdater.h CocoaInitializer.h SparkleAutoUpdater.h
d01d3bf3e1de makes the updater optional at compile time
koda
parents: 2394
diff changeset
    82
d01d3bf3e1de makes the updater optional at compile time
koda
parents: 2394
diff changeset
    83
 	#CONFIG += x86 ppc x86_64 ppc64
2002
37c71f5983c9 patch by koda:
unc0rr
parents: 1943
diff changeset
    84
}