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