diff options
| author | Andreas Grois <andi@grois.info> | 2022-10-10 23:31:36 +0200 |
|---|---|---|
| committer | Andreas Grois <andi@grois.info> | 2022-10-10 23:31:36 +0200 |
| commit | a3fce751364183000d1c0c326cf522c5cd11d4b0 (patch) | |
| tree | a4d5d94603e3eca72b5f2aa6e1da5194f361bbab /CMakeLists.txt | |
| parent | e20a17d3422ba7aefc2cd4a1cdc0c6dd1fe3515e (diff) | |
Update Translations once more.
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d4d67f..8bcd2ef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,6 +70,13 @@ add_custom_command( ) add_custom_target(rust_target DEPENDS "${RUST_LIB}") +add_custom_command( + OUTPUT translations/harbour-passfish.qm translations/harbour-passfish-de.qm + COMMAND lrelease translations/harbour-passfish.ts translations/harbour-passfish-de.ts + WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" +) +add_custom_target(translations_target DEPENDS translations/harbour-passfish.qm translations/harbour-passfish-de.qm) + add_executable( harbour-passfish src/PassFish.cpp @@ -77,7 +84,7 @@ add_executable( src/pwm_qhash.cpp src/GraphemeCountValidator.cpp ) -add_dependencies(harbour-passfish rust_target) +add_dependencies(harbour-passfish rust_target translations_target) target_compile_definitions(harbour-passfish PRIVATE $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_QML_DEBUG> ) |
