share/hedgewars/Data/Locale/CMakeLists.txt
author Periklis Ntanasis <pntanasis@gmail.com>
Thu, 19 Sep 2013 02:33:23 +0300
branchspacecampaign
changeset 9641 b08c8bde57e3
parent 9237 b2f4bd758a0b
child 9832 b1038b4373cc
permissions -rw-r--r--
fixes bug that doesn't display mission name in drop down list

file(GLOB txttrans2 ??.txt)
file(GLOB txttrans5 ?????.txt)
file(GLOB tsfiles *.ts)
file(GLOB luafiles *.lua)
file(GLOB missionfiles missions_*.txt)
file(GLOB campaignfiles campaigns_*.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}
    ${campaignfiles}
    DESTINATION ${SHAREPATH}Data/Locale
)