share/hedgewars/Data/Locale/CMakeLists.txt
author sheepluva
Sun, 14 Apr 2013 12:11:02 +0200
branch0.9.19
changeset 8879 9cc6d672df75
parent 8443 2debc9b9f917
child 9237 b2f4bd758a0b
permissions -rw-r--r--
cleaning up nemo's mess :P ( re3407eef6b5474b2a3ea49ea49e354dc05144005 )

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
)