QTfrontend/hedgewars.pro
author unc0rr
Fri, 17 Apr 2009 12:20:19 +0000
changeset 1998 c22af5e8b636
parent 1943 03dcac72692b
child 2002 37c71f5983c9
permissions -rw-r--r--
Fix disconnection from server
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
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    13
HEADERS += binds.h \
1673
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    14
		game.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    15
		hwform.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    16
		sdlkeys.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    17
		team.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    18
		teamselect.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    19
		teamselhelper.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    20
		frameTeam.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    21
		vertScrollArea.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    22
		gameuiconfig.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    23
		ui_hwform.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    24
		gamecfgwidget.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    25
		predefteams.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    26
		pages.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    27
		SquareLabel.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    28
		hedgehogerWidget.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    29
		hwmap.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    30
		mapContainer.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    31
		tcpBase.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    32
		about.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    33
		KB.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    34
		proto.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    35
		fpsedit.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    36
		netserver.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    37
		newnetclient.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    38
		netudpserver.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    39
		netudpwidget.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    40
		netserverslist.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    41
		chatwidget.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    42
		SDLs.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    43
		playrecordpage.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    44
		hwconsts.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    45
		selectWeapon.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    46
		itemNum.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    47
		input_ip.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    48
		igbox.h \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    49
		weaponItem.h \
1943
03dcac72692b - Better schemes page look
unc0rr
parents: 1803
diff changeset
    50
		statsPage.h \
03dcac72692b - Better schemes page look
unc0rr
parents: 1803
diff changeset
    51
		misc.h
1369
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    52
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    53
SOURCES += binds.cpp \
1673
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    54
		game.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    55
		main.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    56
		hwform.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    57
		team.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    58
		teamselect.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    59
		teamselhelper.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    60
		frameTeam.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    61
		vertScrollArea.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    62
		gameuiconfig.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    63
		ui_hwform.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    64
		gamecfgwidget.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    65
		pages.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    66
		SquareLabel.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    67
		hedgehogerWidget.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    68
		hwmap.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    69
		mapContainer.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    70
		tcpBase.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    71
		about.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    72
		proto.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    73
		fpsedit.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    74
		netserver.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    75
		newnetclient.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    76
		netudpserver.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    77
		netudpwidget.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    78
		netserverslist.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    79
		chatwidget.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    80
		SDLs.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    81
		playrecordpage.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    82
		hwconsts.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    83
		selectWeapon.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    84
		itemNum.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    85
		input_ip.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    86
		igbox.cpp \
06bff12f8a74 - Correctly use plural form in translations
unc0rr
parents: 1621
diff changeset
    87
		weaponItem.cpp \
1943
03dcac72692b - Better schemes page look
unc0rr
parents: 1803
diff changeset
    88
		statsPage.cpp \
03dcac72692b - Better schemes page look
unc0rr
parents: 1803
diff changeset
    89
		misc.cpp
1369
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    90
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    91
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_bg.ts
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    92
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_de.ts
1422
95efe8819892 Add Czech translation
unc0rr
parents: 1374
diff changeset
    93
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_cs.ts
1674
b6d609815378 Add English translation (needed to support plural forms)
unc0rr
parents: 1673
diff changeset
    94
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_en.ts
1484
c01512115c12 - Add es and sv translations to hedgewars.pro
unc0rr
parents: 1422
diff changeset
    95
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_es.ts
1796
4bcdf0bf58b8 Finnish translation
unc0rr
parents: 1699
diff changeset
    96
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fi.ts
1369
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    97
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fr.ts
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
    98
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_it.ts
1699
15ff0435ea50 Japanese translation
unc0rr
parents: 1674
diff changeset
    99
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ja.ts
1369
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
   100
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pl.ts
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
   101
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_BR.ts
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
   102
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ru.ts
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
   103
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sk.ts
1484
c01512115c12 - Add es and sv translations to hedgewars.pro
unc0rr
parents: 1422
diff changeset
   104
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sv.ts
1803
95efe37482e3 Update translations
unc0rr
parents: 1796
diff changeset
   105
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_tr_TR.ts
1369
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
   106
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_uk.ts
1550
2331fe280aef Add Chinese translation
unc0rr
parents: 1484
diff changeset
   107
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_CN.ts
1583
30257fe3f9e9 - zh_TW translation
unc0rr
parents: 1550
diff changeset
   108
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts
1369
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
   109
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
   110
RESOURCES += hedgewars.qrc
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
   111
f5b1b3fd70cc - Add brazilian translation
unc0rr
parents: 1310
diff changeset
   112
LIBS += libSDL