share/hedgewars/Data/Locale/CMakeLists.txt
author nemo
Sat, 17 Mar 2012 14:02:11 -0400
changeset 6788 88036f0e0a92
parent 6059 ddf020d0941a
child 8443 2debc9b9f917
permissions -rw-r--r--
I think this is a little more efficient than dxdy, and easier to read. We call DxDy2 a lot, can any of those use Angle/DirAngle?

file(GLOB txttrans2 ??.txt)
file(GLOB txttrans5 ?????.txt)
file(GLOB tsfiles *.ts)
file(GLOB luafiles *.lua)
file(GLOB missionfiles missions_*.txt)

QT4_ADD_TRANSLATION(QM ${tsfiles})

add_custom_target (release-translation ALL 
		DEPENDS ${QM}
		COMMENT "Compiling ts files"
)

install(FILES
	${txttrans2}
	${txttrans5}
	${QM}
	${luafiles}
	${missionfiles}
	DESTINATION ${SHAREPATH}Data/Locale
)