Add translation output to Cmake

This commit is contained in:
2019-10-18 22:51:31 +02:00
parent b2ffc709bb
commit 7753e42078
3 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
add_custom_target(translations
COMMAND ./generate-mo.sh "${PROJECT_BINARY_DIR}/translations"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMENT "Generating translation locales")