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