summaryrefslogtreecommitdiffstats
path: root/CMakeL10n.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-01-13 16:32:25 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-01-13 16:32:25 +0100
commit1174bdb4683065dc555622f394a36ee1fa2b446c (patch)
tree4db03724fe133e3a0d5270a8abeabfa250b25e4d /CMakeL10n.txt
parent915b7864297b30a2d45ac4f59666d0840dcf93c3 (diff)
downloadtdewebdev-1174bdb4683065dc555622f394a36ee1fa2b446c.tar.gz
tdewebdev-1174bdb4683065dc555622f394a36ee1fa2b446c.zip
Add CMakeL10n rules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'CMakeL10n.txt')
-rw-r--r--CMakeL10n.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt
new file mode 100644
index 00000000..74d04a87
--- /dev/null
+++ b/CMakeL10n.txt
@@ -0,0 +1,28 @@
+#################################################
+#
+# (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/tdewebdev" )
+
+
+##### create translation templates ##############
+
+tde_l10n_auto_add_subdirectories()