share/hedgewars/Data/Locale/CMakeLists.txt
author koda
Mon, 18 Mar 2013 16:38:46 +0100
branchcmake_pascal
changeset 8758 cb3b470f1000
parent 8443 2debc9b9f917
child 9237 b2f4bd758a0b
permissions -rw-r--r--
better support for cmake directory and fpc output paths

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
)