summaryrefslogtreecommitdiffstats
path: root/templates/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'templates/CMakeLists.txt')
-rw-r--r--templates/CMakeLists.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/CMakeLists.txt b/templates/CMakeLists.txt
new file mode 100644
index 000000000..5c3b7f4fb
--- /dev/null
+++ b/templates/CMakeLists.txt
@@ -0,0 +1,22 @@
+###############################################################################
+# Trinity KOffice #
+# --------------- #
+# This file is licensed under the terms of GNU GPL v3 or later. #
+# Improvements and feedback are welcome. #
+###############################################################################
+
+set(TEMPLATE_SUBDIR "Normal")
+file(GLOB DESKTOP_FILES *.desktop)
+file(GLOB KWORD_TEMPLATES *.kwt)
+
+install(
+ FILES
+ Presentation.desktop TextDocument.desktop SpreadSheet.desktop
+ Illustration.desktop
+ DESTINATION ${TEMPLATES_INSTALL_DIR}
+)
+
+install(
+ FILES Presentation.kpt TextDocument.kwt SpreadSheet.kst Illustration.karbon
+ DESTINATION ${TEMPLATES_INSTALL_DIR}/.source
+) \ No newline at end of file