diff options
author | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-23 20:22:40 +0000 |
---|---|---|
committer | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-23 20:22:40 +0000 |
commit | cf21ddc3cce570e574364e841758b59c0f8e8e04 (patch) | |
tree | 9f79e4569bb2991b4de8c25dd23795126ac0914c /languages/ruby/app_templates | |
parent | f9c30e41d26594598abaa8315c4488b6c5ff38ea (diff) | |
download | tdevelop-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/ruby/app_templates')
-rw-r--r-- | languages/ruby/app_templates/CMakeLists.txt | 23 | ||||
-rw-r--r-- | languages/ruby/app_templates/dcopservice/CMakeLists.txt | 27 | ||||
-rw-r--r-- | languages/ruby/app_templates/kapp/CMakeLists.txt | 27 | ||||
-rw-r--r-- | languages/ruby/app_templates/kxt/CMakeLists.txt | 28 | ||||
-rw-r--r-- | languages/ruby/app_templates/qtruby/CMakeLists.txt | 25 | ||||
-rw-r--r-- | languages/ruby/app_templates/qtruby4app/CMakeLists.txt | 28 | ||||
-rw-r--r-- | languages/ruby/app_templates/qtrubyapp/CMakeLists.txt | 27 | ||||
-rw-r--r-- | languages/ruby/app_templates/rails/CMakeLists.txt | 37 | ||||
-rw-r--r-- | languages/ruby/app_templates/rubyhello/CMakeLists.txt | 25 |
9 files changed, 231 insertions, 16 deletions
diff --git a/languages/ruby/app_templates/CMakeLists.txt b/languages/ruby/app_templates/CMakeLists.txt new file mode 100644 index 00000000..9e07d2c5 --- /dev/null +++ b/languages/ruby/app_templates/CMakeLists.txt @@ -0,0 +1,23 @@ +################################################# +# +# (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( rubyhello ) +add_subdirectory( qtruby ) +add_subdirectory( qtrubyapp ) +add_subdirectory( dcopservice ) +add_subdirectory( kapp ) +add_subdirectory( kxt ) +add_subdirectory( rails ) +add_subdirectory( qtruby4app ) + +install( FILES + ruby.appwizard + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/ScriptingLanguageIDE/RubyIDE ) diff --git a/languages/ruby/app_templates/dcopservice/CMakeLists.txt b/languages/ruby/app_templates/dcopservice/CMakeLists.txt new file mode 100644 index 00000000..3e6b459b --- /dev/null +++ b/languages/ruby/app_templates/dcopservice/CMakeLists.txt @@ -0,0 +1,27 @@ +################################################# +# +# (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( dcopserviceruby.tar.gz ALL + COMMAND tar zcf dcopserviceruby.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + dcopservice.desktop app.cpp app-configure.in.in + src-Makefile.am main.rb dcopservice.rb dcopservice.kdevelop + subdirs +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/dcopserviceruby.tar.gz dcopserviceruby.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + dcopserviceruby.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/ruby/app_templates/kapp/CMakeLists.txt b/languages/ruby/app_templates/kapp/CMakeLists.txt new file mode 100644 index 00000000..41c2de16 --- /dev/null +++ b/languages/ruby/app_templates/kapp/CMakeLists.txt @@ -0,0 +1,27 @@ +################################################# +# +# (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( kappruby.tar.gz ALL + COMMAND tar zcf kappruby.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + app_client.rb appiface.rb app.rb appview.rb main.rb pref.rb + app.cpp appui.rc app.desktop app.kdevelop app-Makefile.am + app-configure.in.in src-Makefile.am subdirs README +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/kappruby.tar.gz kappruby.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + kappruby.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/ruby/app_templates/kxt/CMakeLists.txt b/languages/ruby/app_templates/kxt/CMakeLists.txt new file mode 100644 index 00000000..2543047d --- /dev/null +++ b/languages/ruby/app_templates/kxt/CMakeLists.txt @@ -0,0 +1,28 @@ +################################################# +# +# (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( kxtruby.tar.gz ALL + COMMAND tar zcf kxtruby.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + app.rb main.rb prefs.rb app.cpp appview.rb appview_base.ui + prefs-base.ui appui.rc app.desktop kxtruby.png app.kdevelop + app-Makefile.am app-configure.in.in app.kcfg settings.kcfgc + src-Makefile.am subdirs README +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/kxtruby.tar.gz kxtruby.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + kxtruby.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/ruby/app_templates/qtruby/CMakeLists.txt b/languages/ruby/app_templates/qtruby/CMakeLists.txt new file mode 100644 index 00000000..476f6c65 --- /dev/null +++ b/languages/ruby/app_templates/qtruby/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( qtruby.tar.gz ALL + COMMAND tar zcf qtruby.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + app.rb app.kdevelop app-Makefile app.filelist README +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/qtruby.tar.gz qtruby.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + qtruby.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/ruby/app_templates/qtruby4app/CMakeLists.txt b/languages/ruby/app_templates/qtruby4app/CMakeLists.txt new file mode 100644 index 00000000..8408f69a --- /dev/null +++ b/languages/ruby/app_templates/qtruby4app/CMakeLists.txt @@ -0,0 +1,28 @@ +################################################# +# +# (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( qtruby4app.tar.gz ALL + COMMAND tar zcf qtruby4app.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + main.rb qtruby4app.rb qtruby4app.png qtruby4app.kdevelop + application.qrc ReadMe filesave.xpm fileopen.xpm + filenew.xpm editcopy.xpm editpaste.xpm editcut.xpm + app-Makefile app.filelist +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/qtruby4app.tar.gz qtruby4app.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + qtruby4app.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/ruby/app_templates/qtrubyapp/CMakeLists.txt b/languages/ruby/app_templates/qtrubyapp/CMakeLists.txt new file mode 100644 index 00000000..299ac911 --- /dev/null +++ b/languages/ruby/app_templates/qtrubyapp/CMakeLists.txt @@ -0,0 +1,27 @@ +################################################# +# +# (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( qtrubyapp.tar.gz ALL + COMMAND tar zcf qtrubyapp.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + main.rb qtrubyapp.rb qtrubyapp.png qtrubyapp.kdevelop + filesave.xpm fileopen.xpm fileprint.xpm app.filelist + app-Makefile README +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/qtrubyapp.tar.gz qtrubyapp.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + qtrubyapp.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/ruby/app_templates/rails/CMakeLists.txt b/languages/ruby/app_templates/rails/CMakeLists.txt index 34da0fde..75948f30 100644 --- a/languages/ruby/app_templates/rails/CMakeLists.txt +++ b/languages/ruby/app_templates/rails/CMakeLists.txt @@ -1,20 +1,25 @@ - - -#original Makefile.am contents follow: - -#dataFiles = app.rb app.kdevelop -#templateName= rubyhello +################################################# # -#### no need to change below: -#template_DATA = $(templateName).kdevtemplate -#templatedir = ${appwizarddatadir}/templates +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com # -#appwizarddatadir = ${kde_datadir}/kdevappwizard -#$(templateName).tar.gz: -# $(TAR) -cf $(templateName).tar -C $(srcdir) ${dataFiles} -# $(GZIP) -9 $(templateName).tar +# Improvements and feedback are welcome # -#archivedir = ${appwizarddatadir} -#archive_DATA = $(templateName).tar.gz ${templateName}.png +# This file is released under GPL >= 2 # -#CLEANFILES = *.tar.gz
\ No newline at end of file +################################################# + +add_custom_target( rails.tar.gz ALL + COMMAND tar zcf rails.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + app.kdevelop +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/rails.tar.gz rails.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + rails.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/ruby/app_templates/rubyhello/CMakeLists.txt b/languages/ruby/app_templates/rubyhello/CMakeLists.txt new file mode 100644 index 00000000..3aeb22f1 --- /dev/null +++ b/languages/ruby/app_templates/rubyhello/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( rubyhello.tar.gz ALL + COMMAND tar zcf rubyhello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + app.rb app.kdevelop +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/rubyhello.tar.gz rubyhello.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + rubyhello.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) |