summaryrefslogtreecommitdiffstats
path: root/languages/pascal/app_templates
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-23 20:22:40 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-23 20:22:40 +0000
commitcf21ddc3cce570e574364e841758b59c0f8e8e04 (patch)
tree9f79e4569bb2991b4de8c25dd23795126ac0914c /languages/pascal/app_templates
parentf9c30e41d26594598abaa8315c4488b6c5ff38ea (diff)
downloadtdevelop-cf21ddc3cce570e574364e841758b59c0f8e8e04.tar.gz
tdevelop-cf21ddc3cce570e574364e841758b59c0f8e8e04.zip
[kdevelop] initial cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1216516 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/pascal/app_templates')
-rw-r--r--languages/pascal/app_templates/CMakeLists.txt19
-rw-r--r--languages/pascal/app_templates/fpcgtk/CMakeLists.txt25
-rw-r--r--languages/pascal/app_templates/fpchello/CMakeLists.txt25
-rw-r--r--languages/pascal/app_templates/fpcsharedlib/CMakeLists.txt25
-rw-r--r--languages/pascal/app_templates/pascalhello/CMakeLists.txt25
5 files changed, 119 insertions, 0 deletions
diff --git a/languages/pascal/app_templates/CMakeLists.txt b/languages/pascal/app_templates/CMakeLists.txt
new file mode 100644
index 00000000..d493e7a1
--- /dev/null
+++ b/languages/pascal/app_templates/CMakeLists.txt
@@ -0,0 +1,19 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( pascalhello )
+add_subdirectory( fpcgtk )
+add_subdirectory( fpchello )
+add_subdirectory( fpcsharedlib )
+
+install( FILES
+ pascal.appwizard
+ DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE/PascalIDE )
diff --git a/languages/pascal/app_templates/fpcgtk/CMakeLists.txt b/languages/pascal/app_templates/fpcgtk/CMakeLists.txt
new file mode 100644
index 00000000..8a154204
--- /dev/null
+++ b/languages/pascal/app_templates/fpcgtk/CMakeLists.txt
@@ -0,0 +1,25 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_custom_target( fpcgtk.tar.gz ALL
+ COMMAND tar zcf fpcgtk.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
+ main.pp app.kdevelop
+)
+
+
+install( FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/fpcgtk.tar.gz fpcgtk.png
+ DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard )
+
+
+install( FILES
+ fpcgtk.kdevtemplate
+ DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates )
diff --git a/languages/pascal/app_templates/fpchello/CMakeLists.txt b/languages/pascal/app_templates/fpchello/CMakeLists.txt
new file mode 100644
index 00000000..f51b2517
--- /dev/null
+++ b/languages/pascal/app_templates/fpchello/CMakeLists.txt
@@ -0,0 +1,25 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_custom_target( fpchello.tar.gz ALL
+ COMMAND tar zcf fpchello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
+ main.pp app.kdevelop
+)
+
+
+install( FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/fpchello.tar.gz fpchello.png
+ DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard )
+
+
+install( FILES
+ fpchello.kdevtemplate
+ DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates )
diff --git a/languages/pascal/app_templates/fpcsharedlib/CMakeLists.txt b/languages/pascal/app_templates/fpcsharedlib/CMakeLists.txt
new file mode 100644
index 00000000..de4923f3
--- /dev/null
+++ b/languages/pascal/app_templates/fpcsharedlib/CMakeLists.txt
@@ -0,0 +1,25 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_custom_target( fpcsharedlib.tar.gz ALL
+ COMMAND tar zcf fpcsharedlib.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
+ main.pp app.kdevelop
+)
+
+
+install( FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/fpcsharedlib.tar.gz fpcsharedlib.png
+ DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard )
+
+
+install( FILES
+ fpcsharedlib.kdevtemplate
+ DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates )
diff --git a/languages/pascal/app_templates/pascalhello/CMakeLists.txt b/languages/pascal/app_templates/pascalhello/CMakeLists.txt
new file mode 100644
index 00000000..0c130705
--- /dev/null
+++ b/languages/pascal/app_templates/pascalhello/CMakeLists.txt
@@ -0,0 +1,25 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_custom_target( pascalhello.tar.gz ALL
+ COMMAND tar zcf pascalhello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
+ main.pp app.kdevelop
+)
+
+
+install( FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/pascalhello.tar.gz pascalhello.png
+ DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard )
+
+
+install( FILES
+ pascalhello.kdevtemplate
+ DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates )