diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-01-01 03:08:13 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-01-01 03:08:36 +0100 |
commit | 7c152fcbe4bee97e09af281807df3106787c5ee8 (patch) | |
tree | 13cc8528e09abd6ffcb65ae37fb1397f9eb4dbae /CMakeL10n.txt | |
parent | 106e19229e2bba6222753d48b32da57d77a00a15 (diff) | |
download | tdevelop-7c152fcbe4bee97e09af281807df3106787c5ee8.tar.gz tdevelop-7c152fcbe4bee97e09af281807df3106787c5ee8.zip |
Add CMakeL10n rules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 47e3b8c07e89067296c1839c00fa94f39422c4a9)
Diffstat (limited to 'CMakeL10n.txt')
-rw-r--r-- | CMakeL10n.txt | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt new file mode 100644 index 00000000..36799e40 --- /dev/null +++ b/CMakeL10n.txt @@ -0,0 +1,35 @@ +################################################# +# +# (C) 2019 Slávek Banko +# slavek.banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +cmake_minimum_required( VERSION 2.8 ) + + +##### include our cmake modules ################# + +set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" ) +include( TDEL10n ) + + +##### set directory for POT files ############### + +set( POT_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../tde-i18n/template/messages/tdevelop" ) + + +##### create translation templates ############## + +tde_l10n_create_template( + CATALOG "tdevelop" + EXCLUDES + "^kdevdesigner/src/" + "^parts/tipofday/" +) + +tde_l10n_auto_add_subdirectories() |