share/hedgewars/Data/Locale/CMakeLists.txt
author koda
Wed, 02 Jan 2013 11:11:49 +0100
branchwebgl
changeset 8340 46a9fde631f4
parent 6059 ddf020d0941a
child 8443 2debc9b9f917
permissions -rw-r--r--
install shaders only when needed, find clang only when needed, fix building on windows, better cmake boolean vars

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
)