summaryrefslogtreecommitdiffstats
path: root/CMakeL10n.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-12-28 12:10:29 +0100
committerSlávek Banko <slavek.banko@axis.cz>2018-12-28 12:19:34 +0100
commitbea32b99e30fe1dcc3112174041da45da085e2f8 (patch)
treecafa60ca0d6a13982258582e24957043fe335d95 /CMakeL10n.txt
parent3a5f149dbfd6c3bba9ad4c4c768c2fcfd0b78d63 (diff)
downloadtdegames-bea32b99e30fe1dcc3112174041da45da085e2f8.tar.gz
tdegames-bea32b99e30fe1dcc3112174041da45da085e2f8.zip
Add CMakeL10n rules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 3197459242b128752ce6eef11330d6b9aa913591)
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..af9aee23
--- /dev/null
+++ b/CMakeL10n.txt
@@ -0,0 +1,28 @@
+#################################################
+#
+# (C) 2018 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/tdegames" )
+
+
+##### create translation templates ##############
+
+tde_l10n_auto_add_subdirectories()