diff options
Diffstat (limited to 'languages/pascal/app_templates')
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 ) |