QTfrontend/hedgewars.pro
author nemo
Mon, 11 May 2009 21:27:31 +0000
changeset 2047 805f7b62cff6
parent 2003 41b3d00949ca
child 2093 485e084cedc4
permissions -rw-r--r--
Allow speech bubble/small damage tags in "reduced quality" First is needed for game context, 2nd has little impact on framerate
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{
2003
41b3d00949ca Patch by koda:
unc0rr
parents: 2002
diff changeset
    12
	CONFIG += x86 ppc
2002
37c71f5983c9 patch by koda:
unc0rr
parents: 1943
diff changeset
    13
}
2003
41b3d00949ca Patch by koda:
unc0rr
parents: 2002
diff changeset
    14
1369
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    15
QT += network svg xml
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    16
2003
41b3d00949ca Patch by koda:
unc0rr
parents: 2002
diff changeset
    17
HEADERS += 	binds.h \
1673
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    18
		game.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    19
		hwform.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    20
		sdlkeys.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    21
		team.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    22
		teamselect.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    23
		teamselhelper.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    24
		frameTeam.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    25
		vertScrollArea.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    26
		gameuiconfig.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    27
		ui_hwform.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    28
		gamecfgwidget.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    29
		predefteams.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    30
		pages.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    31
		SquareLabel.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    32
		hedgehogerWidget.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    33
		hwmap.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    34
		mapContainer.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    35
		tcpBase.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    36
		about.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    37
		KB.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    38
		proto.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    39
		fpsedit.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    40
		netserver.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    41
		newnetclient.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    42
		netudpserver.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    43
		netudpwidget.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    44
		netserverslist.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    45
		chatwidget.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    46
		SDLs.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    47
		playrecordpage.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    48
		hwconsts.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    49
		selectWeapon.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    50
		itemNum.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    51
		input_ip.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    52
		igbox.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    53
		weaponItem.h \
1943
03dcac72692b - Better schemes page look
unc0rr
parents: 1803
diff changeset
    54
		statsPage.h \
2003
41b3d00949ca Patch by koda:
unc0rr
parents: 2002
diff changeset
    55
		misc.h \
41b3d00949ca Patch by koda:
unc0rr
parents: 2002
diff changeset
    56
		ammoSchemeModel.h \
41b3d00949ca Patch by koda:
unc0rr
parents: 2002
diff changeset
    57
		togglebutton.h \
41b3d00949ca Patch by koda:
unc0rr
parents: 2002
diff changeset
    58
		namegen.h \
41b3d00949ca Patch by koda:
unc0rr
parents: 2002
diff changeset
    59
		netregister.h \
41b3d00949ca Patch by koda:
unc0rr
parents: 2002
diff changeset
    60
		hats.h
1369
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    61
2003
41b3d00949ca Patch by koda:
unc0rr
parents: 2002
diff changeset
    62
SOURCES +=	binds.cpp \
1673
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    63
		game.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    64
		main.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    65
		hwform.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    66
		team.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    67
		teamselect.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    68
		teamselhelper.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    69
		frameTeam.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    70
		vertScrollArea.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    71
		gameuiconfig.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    72
		ui_hwform.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    73
		gamecfgwidget.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    74
		pages.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    75
		SquareLabel.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    76
		hedgehogerWidget.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    77
		hwmap.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    78
		mapContainer.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    79
		tcpBase.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    80
		about.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    81
		proto.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    82
		fpsedit.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    83
		netserver.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    84
		newnetclient.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    85
		netudpserver.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    86
		netudpwidget.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    87
		netserverslist.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    88
		chatwidget.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    89
		SDLs.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    90
		playrecordpage.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    91
		hwconsts.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    92
		selectWeapon.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    93
		itemNum.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    94
		input_ip.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    95
		igbox.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    96
		weaponItem.cpp \
1943
03dcac72692b - Better schemes page look
unc0rr
parents: 1803
diff changeset
    97
		statsPage.cpp \
2003
41b3d00949ca Patch by koda:
unc0rr
parents: 2002
diff changeset
    98
		misc.cpp \
41b3d00949ca Patch by koda:
unc0rr
parents: 2002
diff changeset
    99
		ammoSchemeModel.cpp \
41b3d00949ca Patch by koda:
unc0rr
parents: 2002
diff changeset
   100
		togglebutton.cpp \
41b3d00949ca Patch by koda:
unc0rr
parents: 2002
diff changeset
   101
		namegen.cpp \
41b3d00949ca Patch by koda:
unc0rr
parents: 2002
diff changeset
   102
		netregister.cpp \
41b3d00949ca Patch by koda:
unc0rr
parents: 2002
diff changeset
   103
		hats.cpp
1369
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
   104
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
   105
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_bg.ts
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
   106
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_de.ts
1422
95efe8819892 Add Czech translation
unc0rr
parents: 1374
diff changeset
   107
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_cs.ts
1674
b6d609815378 Add English translation (needed to support plural forms)
unc0rr
parents: 1673
diff changeset
   108
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_en.ts
1484
c01512115c12 - Add es and sv translations to hedgewars.pro
unc0rr
parents: 1422
diff changeset
   109
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_es.ts
1796
4bcdf0bf58b8 Finnish translation
unc0rr
parents: 1699
diff changeset
   110
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fi.ts
1369
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
   111
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fr.ts
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
   112
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_it.ts
1699
15ff0435ea50 Japanese translation
unc0rr
parents: 1674
diff changeset
   113
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ja.ts
1369
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
   114
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pl.ts
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
   115
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_BR.ts
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
   116
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ru.ts
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
   117
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sk.ts
1484
c01512115c12 - Add es and sv translations to hedgewars.pro
unc0rr
parents: 1422
diff changeset
   118
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sv.ts
1803
95efe37482e3 Update translations
unc0rr
parents: 1796
diff changeset
   119
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_tr_TR.ts
1369
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
   120
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_uk.ts
1550
2331fe280aef Add Chinese translation
unc0rr
parents: 1484
diff changeset
   121
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_CN.ts
1583
30257fe3f9e9 - zh_TW translation
unc0rr
parents: 1550
diff changeset
   122
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts
1369
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
   123
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
   124
RESOURCES += hedgewars.qrc
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
   125
2002
37c71f5983c9 patch by koda:
unc0rr
parents: 1943
diff changeset
   126
!macx{
2003
41b3d00949ca Patch by koda:
unc0rr
parents: 2002
diff changeset
   127
	LIBS += libSDL
2002
37c71f5983c9 patch by koda:
unc0rr
parents: 1943
diff changeset
   128
}else{
2003
41b3d00949ca Patch by koda:
unc0rr
parents: 2002
diff changeset
   129
	LIBS += -framework SDL -framework SDL_mixer -framework Ogg -framework Vorbis
2002
37c71f5983c9 patch by koda:
unc0rr
parents: 1943
diff changeset
   130
}