QTfrontend/hedgewars.pro
author unc0rr
Sat, 06 Jun 2009 12:42:35 +0000
changeset 2149 2eda77999bec
parent 2093 485e084cedc4
child 2394 0f8de781fc34
permissions -rw-r--r--
Fix a bug in frontend leading to incorrect behaviour when dealing with names starting/ending with whitespace

TEMPLATE = app
TARGET = hedgewars
DEPENDPATH += .
INCLUDEPATH += .
DESTDIR = ../bin

win32 {
	RC_FILE	= ./res/hedgewars.rc
}

macx{
	CONFIG += x86 ppc
}

QT += network svg xml

HEADERS += 	binds.h \
		game.h \
		hwform.h \
		sdlkeys.h \
		team.h \
		teamselect.h \
		teamselhelper.h \
		frameTeam.h \
		vertScrollArea.h \
		gameuiconfig.h \
		ui_hwform.h \
		gamecfgwidget.h \
		predefteams.h \
		pages.h \
		SquareLabel.h \
		hedgehogerWidget.h \
		hwmap.h \
		mapContainer.h \
		tcpBase.h \
		about.h \
		KB.h \
		proto.h \
		fpsedit.h \
		netserver.h \
		newnetclient.h \
		netudpserver.h \
		netudpwidget.h \
		netserverslist.h \
		chatwidget.h \
		SDLs.h \
		playrecordpage.h \
		hwconsts.h \
		selectWeapon.h \
		itemNum.h \
		input_ip.h \
		igbox.h \
		weaponItem.h \
		statsPage.h \
		misc.h \
		ammoSchemeModel.h \
		togglebutton.h \
		namegen.h \
		netregister.h \
		hats.h

SOURCES +=	binds.cpp \
		game.cpp \
		main.cpp \
		hwform.cpp \
		team.cpp \
		teamselect.cpp \
		teamselhelper.cpp \
		frameTeam.cpp \
		vertScrollArea.cpp \
		gameuiconfig.cpp \
		ui_hwform.cpp \
		gamecfgwidget.cpp \
		pages.cpp \
		SquareLabel.cpp \
		hedgehogerWidget.cpp \
		hwmap.cpp \
		mapContainer.cpp \
		tcpBase.cpp \
		about.cpp \
		proto.cpp \
		fpsedit.cpp \
		netserver.cpp \
		newnetclient.cpp \
		netudpserver.cpp \
		netudpwidget.cpp \
		netserverslist.cpp \
		chatwidget.cpp \
		SDLs.cpp \
		playrecordpage.cpp \
		hwconsts.cpp \
		selectWeapon.cpp \
		itemNum.cpp \
		input_ip.cpp \
		igbox.cpp \
		weaponItem.cpp \
		statsPage.cpp \
		misc.cpp \
		ammoSchemeModel.cpp \
		togglebutton.cpp \
		namegen.cpp \
		netregister.cpp \
		hats.cpp

TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_bg.ts
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_de.ts
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_cs.ts
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_en.ts
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_es.ts
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fi.ts
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fr.ts
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_it.ts
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ja.ts
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pl.ts
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_BR.ts
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_PT.ts
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ru.ts
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sk.ts
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sv.ts
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_tr_TR.ts
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_uk.ts
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_CN.ts
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts

RESOURCES += hedgewars.qrc

!macx{
	LIBS += libSDL
}else{
	LIBS += -framework SDL -framework SDL_mixer -framework Ogg -framework Vorbis
}