From cf21ddc3cce570e574364e841758b59c0f8e8e04 Mon Sep 17 00:00:00 2001 From: samelian Date: Sun, 23 Jan 2011 20:22:40 +0000 Subject: [kdevelop] initial cmake support git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1216516 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- languages/cpp/CMakeLists.txt | 86 ++++++++++++++++++++++ languages/cpp/app_templates/CMakeLists.txt | 79 ++++++++++++++++++++ .../cpp/app_templates/automakeempty/CMakeLists.txt | 26 +++++++ languages/cpp/app_templates/chello/CMakeLists.txt | 26 +++++++ .../cpp/app_templates/chello_gba/CMakeLists.txt | 27 +++++++ languages/cpp/app_templates/clanlib/CMakeLists.txt | 26 +++++++ .../cpp/app_templates/cmakelibc/CMakeLists.txt | 26 +++++++ .../cpp/app_templates/cmakelibcpp/CMakeLists.txt | 27 +++++++ .../cpp/app_templates/cmakeqt3app/CMakeLists.txt | 31 +++++--- .../cpp/app_templates/cmakeqt3app/Makefile.am | 2 +- .../cmakeqt3app/cmakeqt3app-CMakeLists.txt | 14 ++++ .../cpp/app_templates/cmakesimple/CMakeLists.txt | 25 +++++++ .../cpp/app_templates/cmakesimplec/CMakeLists.txt | 25 +++++++ .../app_templates/cppcurseshello/CMakeLists.txt | 26 +++++++ .../cpp/app_templates/cpphello/CMakeLists.txt | 26 +++++++ .../cpp/app_templates/cppsdlhello/CMakeLists.txt | 26 +++++++ .../cpp/app_templates/dcopservice/CMakeLists.txt | 27 +++++++ .../cpp/app_templates/gtk2mmapp/CMakeLists.txt | 29 ++++++++ languages/cpp/app_templates/kapp/CMakeLists.txt | 27 +++++++ .../cpp/app_templates/kateplugin/CMakeLists.txt | 27 +++++++ .../cpp/app_templates/kateplugin2/CMakeLists.txt | 27 +++++++ .../cpp/app_templates/kcmodule/CMakeLists.txt | 26 +++++++ .../cpp/app_templates/kconfig35/CMakeLists.txt | 28 +++++++ languages/cpp/app_templates/kde4app/CMakeLists.txt | 29 ++++++++ languages/cpp/app_templates/kdedcop/CMakeLists.txt | 27 +++++++ .../cpp/app_templates/kdevlang/CMakeLists.txt | 27 +++++++ .../cpp/app_templates/kdevpart/CMakeLists.txt | 29 ++++++++ .../cpp/app_templates/kdevpart2/CMakeLists.txt | 30 ++++++++ .../cpp/app_templates/kfileplugin/CMakeLists.txt | 27 +++++++ languages/cpp/app_templates/khello/CMakeLists.txt | 26 +++++++ languages/cpp/app_templates/khello2/CMakeLists.txt | 27 +++++++ languages/cpp/app_templates/kicker/CMakeLists.txt | 26 +++++++ .../cpp/app_templates/kioslave/CMakeLists.txt | 26 +++++++ languages/cpp/app_templates/kmod/CMakeLists.txt | 25 +++++++ .../cpp/app_templates/kofficepart/CMakeLists.txt | 29 ++++++++ .../cpp/app_templates/konqnavpanel/CMakeLists.txt | 27 +++++++ .../cpp/app_templates/kpartapp/CMakeLists.txt | 27 +++++++ .../cpp/app_templates/kpartplugin/CMakeLists.txt | 27 +++++++ .../cpp/app_templates/kscons_kmdi/CMakeLists.txt | 30 ++++++++ .../cpp/app_templates/kscons_kxt/CMakeLists.txt | 29 ++++++++ .../cpp/app_templates/kscreensaver/CMakeLists.txt | 27 +++++++ languages/cpp/app_templates/kxt/CMakeLists.txt | 28 +++++++ .../cpp/app_templates/makefileempty/CMakeLists.txt | 25 +++++++ .../cpp/app_templates/noatunui/CMakeLists.txt | 27 +++++++ .../cpp/app_templates/noatunvisual/CMakeLists.txt | 27 +++++++ languages/cpp/app_templates/opieapp/CMakeLists.txt | 26 +++++++ .../cpp/app_templates/opieapplet/CMakeLists.txt | 26 +++++++ .../cpp/app_templates/opieinput/CMakeLists.txt | 26 +++++++ .../cpp/app_templates/opiemenu/CMakeLists.txt | 26 +++++++ languages/cpp/app_templates/opienet/CMakeLists.txt | 27 +++++++ .../cpp/app_templates/opietoday/CMakeLists.txt | 28 +++++++ .../cpp/app_templates/qmakeapp/CMakeLists.txt | 27 +++++++ .../cpp/app_templates/qmakeempty/CMakeLists.txt | 25 +++++++ .../cpp/app_templates/qmakesimple/CMakeLists.txt | 25 +++++++ .../cpp/app_templates/qt4hello/CMakeLists.txt | 26 +++++++ .../cpp/app_templates/qt4makeapp/CMakeLists.txt | 28 +++++++ .../cpp/app_templates/qtopia4app/CMakeLists.txt | 27 +++++++ .../cpp/app_templates/qtopiaapp/CMakeLists.txt | 27 +++++++ .../cpp/app_templates/win32gui/CMakeLists.txt | 27 +++++++ .../cpp/app_templates/win32hello/CMakeLists.txt | 27 +++++++ languages/cpp/app_templates/wxhello/CMakeLists.txt | 26 +++++++ languages/cpp/compiler/CMakeLists.txt | 12 +++ languages/cpp/compiler/gccoptions/CMakeLists.txt | 40 ++++++++++ languages/cpp/debugger/CMakeLists.txt | 55 ++++++++++++++ languages/cpp/debugger/mi/CMakeLists.txt | 31 ++++++++ languages/cpp/doc/CMakeLists.txt | 17 +++++ languages/cpp/file_templates/CMakeLists.txt | 14 ++++ languages/cpp/newclass_templates/CMakeLists.txt | 15 ++++ languages/cpp/pcsimporter/CMakeLists.txt | 15 ++++ .../cpp/pcsimporter/customimporter/CMakeLists.txt | 38 ++++++++++ .../cpp/pcsimporter/kdelibsimporter/CMakeLists.txt | 38 ++++++++++ .../cpp/pcsimporter/qt4importer/CMakeLists.txt | 38 ++++++++++ .../cpp/pcsimporter/qtimporter/CMakeLists.txt | 37 ++++++++++ languages/cpp/subclassing_template/CMakeLists.txt | 15 ++++ languages/cpp/templates/CMakeLists.txt | 14 ++++ 75 files changed, 2084 insertions(+), 10 deletions(-) create mode 100644 languages/cpp/CMakeLists.txt create mode 100644 languages/cpp/app_templates/CMakeLists.txt create mode 100644 languages/cpp/app_templates/automakeempty/CMakeLists.txt create mode 100644 languages/cpp/app_templates/chello/CMakeLists.txt create mode 100644 languages/cpp/app_templates/chello_gba/CMakeLists.txt create mode 100644 languages/cpp/app_templates/clanlib/CMakeLists.txt create mode 100644 languages/cpp/app_templates/cmakelibc/CMakeLists.txt create mode 100644 languages/cpp/app_templates/cmakelibcpp/CMakeLists.txt create mode 100644 languages/cpp/app_templates/cmakeqt3app/cmakeqt3app-CMakeLists.txt create mode 100644 languages/cpp/app_templates/cmakesimple/CMakeLists.txt create mode 100644 languages/cpp/app_templates/cmakesimplec/CMakeLists.txt create mode 100644 languages/cpp/app_templates/cppcurseshello/CMakeLists.txt create mode 100644 languages/cpp/app_templates/cpphello/CMakeLists.txt create mode 100644 languages/cpp/app_templates/cppsdlhello/CMakeLists.txt create mode 100644 languages/cpp/app_templates/dcopservice/CMakeLists.txt create mode 100644 languages/cpp/app_templates/gtk2mmapp/CMakeLists.txt create mode 100644 languages/cpp/app_templates/kapp/CMakeLists.txt create mode 100644 languages/cpp/app_templates/kateplugin/CMakeLists.txt create mode 100644 languages/cpp/app_templates/kateplugin2/CMakeLists.txt create mode 100644 languages/cpp/app_templates/kcmodule/CMakeLists.txt create mode 100644 languages/cpp/app_templates/kconfig35/CMakeLists.txt create mode 100644 languages/cpp/app_templates/kde4app/CMakeLists.txt create mode 100644 languages/cpp/app_templates/kdedcop/CMakeLists.txt create mode 100644 languages/cpp/app_templates/kdevlang/CMakeLists.txt create mode 100644 languages/cpp/app_templates/kdevpart/CMakeLists.txt create mode 100644 languages/cpp/app_templates/kdevpart2/CMakeLists.txt create mode 100644 languages/cpp/app_templates/kfileplugin/CMakeLists.txt create mode 100644 languages/cpp/app_templates/khello/CMakeLists.txt create mode 100644 languages/cpp/app_templates/khello2/CMakeLists.txt create mode 100644 languages/cpp/app_templates/kicker/CMakeLists.txt create mode 100644 languages/cpp/app_templates/kioslave/CMakeLists.txt create mode 100644 languages/cpp/app_templates/kmod/CMakeLists.txt create mode 100644 languages/cpp/app_templates/kofficepart/CMakeLists.txt create mode 100644 languages/cpp/app_templates/konqnavpanel/CMakeLists.txt create mode 100644 languages/cpp/app_templates/kpartapp/CMakeLists.txt create mode 100644 languages/cpp/app_templates/kpartplugin/CMakeLists.txt create mode 100644 languages/cpp/app_templates/kscons_kmdi/CMakeLists.txt create mode 100644 languages/cpp/app_templates/kscons_kxt/CMakeLists.txt create mode 100644 languages/cpp/app_templates/kscreensaver/CMakeLists.txt create mode 100644 languages/cpp/app_templates/kxt/CMakeLists.txt create mode 100644 languages/cpp/app_templates/makefileempty/CMakeLists.txt create mode 100644 languages/cpp/app_templates/noatunui/CMakeLists.txt create mode 100644 languages/cpp/app_templates/noatunvisual/CMakeLists.txt create mode 100644 languages/cpp/app_templates/opieapp/CMakeLists.txt create mode 100644 languages/cpp/app_templates/opieapplet/CMakeLists.txt create mode 100644 languages/cpp/app_templates/opieinput/CMakeLists.txt create mode 100644 languages/cpp/app_templates/opiemenu/CMakeLists.txt create mode 100644 languages/cpp/app_templates/opienet/CMakeLists.txt create mode 100644 languages/cpp/app_templates/opietoday/CMakeLists.txt create mode 100644 languages/cpp/app_templates/qmakeapp/CMakeLists.txt create mode 100644 languages/cpp/app_templates/qmakeempty/CMakeLists.txt create mode 100644 languages/cpp/app_templates/qmakesimple/CMakeLists.txt create mode 100644 languages/cpp/app_templates/qt4hello/CMakeLists.txt create mode 100644 languages/cpp/app_templates/qt4makeapp/CMakeLists.txt create mode 100644 languages/cpp/app_templates/qtopia4app/CMakeLists.txt create mode 100644 languages/cpp/app_templates/qtopiaapp/CMakeLists.txt create mode 100644 languages/cpp/app_templates/win32gui/CMakeLists.txt create mode 100644 languages/cpp/app_templates/win32hello/CMakeLists.txt create mode 100644 languages/cpp/app_templates/wxhello/CMakeLists.txt create mode 100644 languages/cpp/compiler/CMakeLists.txt create mode 100644 languages/cpp/compiler/gccoptions/CMakeLists.txt create mode 100644 languages/cpp/debugger/CMakeLists.txt create mode 100644 languages/cpp/debugger/mi/CMakeLists.txt create mode 100644 languages/cpp/doc/CMakeLists.txt create mode 100644 languages/cpp/file_templates/CMakeLists.txt create mode 100644 languages/cpp/newclass_templates/CMakeLists.txt create mode 100644 languages/cpp/pcsimporter/CMakeLists.txt create mode 100644 languages/cpp/pcsimporter/customimporter/CMakeLists.txt create mode 100644 languages/cpp/pcsimporter/kdelibsimporter/CMakeLists.txt create mode 100644 languages/cpp/pcsimporter/qt4importer/CMakeLists.txt create mode 100644 languages/cpp/pcsimporter/qtimporter/CMakeLists.txt create mode 100644 languages/cpp/subclassing_template/CMakeLists.txt create mode 100644 languages/cpp/templates/CMakeLists.txt (limited to 'languages/cpp') diff --git a/languages/cpp/CMakeLists.txt b/languages/cpp/CMakeLists.txt new file mode 100644 index 00000000..8d1c569a --- /dev/null +++ b/languages/cpp/CMakeLists.txt @@ -0,0 +1,86 @@ +################################################# +# +# (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( templates ) +add_subdirectory( subclassing_template ) +add_subdirectory( newclass_templates ) +add_subdirectory( file_templates ) +add_subdirectory( app_templates ) +add_subdirectory( compiler ) +add_subdirectory( pcsimporter ) +add_subdirectory( debugger ) +add_subdirectory( doc ) + +add_definitions( -DAST_DEBUG ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_BINARY_DIR}/languages/lib/designer_integration + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/languages/lib/interfaces + ${CMAKE_SOURCE_DIR}/languages/lib/designer_integration + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/interfaces/external + ${CMAKE_SOURCE_DIR}/lib/cppparser + ${CMAKE_SOURCE_DIR}/lib/catalog + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevcppsupport.desktop kdevcsupport.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevcppsupport.rc DESTINATION ${DATA_INSTALL_DIR}/kdevcppsupport ) +install( FILES cpptemplates DESTINATION ${DATA_INSTALL_DIR}/kdevabbrev/templates ) +install( FILES configuration DESTINATION ${DATA_INSTALL_DIR}/kdevcppsupport ) + + +##### libkdevcppsupport (module) ################ + +tde_add_kpart( libkdevcppsupport AUTOMOC + SOURCES + KDevCppSupportIface.cpp KDevCppSupportIface.skel + addattributedialog.cpp addattributedialogbase.ui + addmethoddialog.cpp addmethoddialogbase.ui + ast_utils.cpp backgroundparser.cpp ccconfigwidget.cpp + ccconfigwidgetbase.ui classgeneratorconfig.cpp + classgeneratorconfigbase.ui codeinformationrepository.cpp + completiondebug.cpp configproblemreporter.ui + cppcodecompletion.cpp cppcodecompletionconfig.cpp + cppevaluation.cpp cppimplementationwidget.cpp + cppnewclassdlg.cpp cppnewclassdlgbase.ui + cppsplitheadersourceconfig.cpp cppsupport_utils.cpp + cppsupportfactory.cpp cppsupportpart.cpp + creategettersetter.ui creategettersetterconfiguration.cpp + creategettersetterconfiguration.h + creategettersetterdialog.cpp creategettersetterdialog.h + createpcsdialog.cpp createpcsdialogbase.ui + doxydoc.cpp includefiles.cpp includepathresolver.cpp + kdevdriver.cpp problemreporter.cpp qtbuildconfig.cpp + qtdesignercppintegration.cpp setuphelper.cpp + simplecontext.cpp simpletype.cpp simpletypecatalog.cpp + simpletypefunction.cpp simpletypenamespace.cpp + store_walker.cpp storeconverter.cpp stringhelpers.cpp + subclassingdlg.cpp subclassingdlgbase.ui tag_creator.cpp + typedesc.cpp + LINK + lang_interfaces-shared kdevcppparser-shared + kdevcatalog-shared designerintegration-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/languages/cpp/app_templates/CMakeLists.txt b/languages/cpp/app_templates/CMakeLists.txt new file mode 100644 index 00000000..ada04721 --- /dev/null +++ b/languages/cpp/app_templates/CMakeLists.txt @@ -0,0 +1,79 @@ +################################################# +# +# (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( kapp ) +add_subdirectory( kpartapp ) +add_subdirectory( kpartplugin ) +add_subdirectory( kcmodule ) +add_subdirectory( kicker ) +add_subdirectory( kioslave ) +add_subdirectory( kdevpart ) +add_subdirectory( kdevpart2 ) +add_subdirectory( chello ) +add_subdirectory( cpphello ) +add_subdirectory( kscreensaver ) +add_subdirectory( kofficepart ) +add_subdirectory( chello_gba ) +add_subdirectory( dcopservice ) +add_subdirectory( konqnavpanel ) +add_subdirectory( qmakesimple ) +add_subdirectory( qmakeapp ) +add_subdirectory( qt4makeapp ) +add_subdirectory( khello ) +add_subdirectory( khello2 ) +add_subdirectory( kateplugin ) +add_subdirectory( kateplugin2 ) +add_subdirectory( qtopiaapp ) +add_subdirectory( kdedcop ) +add_subdirectory( wxhello ) +add_subdirectory( cppsdlhello ) +add_subdirectory( kconfig35 ) +add_subdirectory( kdevlang ) +add_subdirectory( noatunvisual ) +add_subdirectory( noatunui ) +add_subdirectory( kmod ) +add_subdirectory( kfileplugin ) +add_subdirectory( clanlib ) +add_subdirectory( opieapp ) +add_subdirectory( opieapplet ) +add_subdirectory( opieinput ) +add_subdirectory( opiemenu ) +add_subdirectory( opienet ) +add_subdirectory( opietoday ) +add_subdirectory( kxt ) +add_subdirectory( gtk2mmapp ) +add_subdirectory( cppcurseshello ) +add_subdirectory( win32hello ) +add_subdirectory( win32gui ) +add_subdirectory( cmakesimple ) +add_subdirectory( cmakesimplec ) +add_subdirectory( cmakelibcpp ) +add_subdirectory( cmakelibc ) +add_subdirectory( kscons_kxt ) +add_subdirectory( kscons_kmdi ) +add_subdirectory( qt4hello ) +add_subdirectory( qmakeempty ) +add_subdirectory( automakeempty ) +add_subdirectory( makefileempty ) +add_subdirectory( qtopia4app ) +add_subdirectory( kde4app ) + +install( FILES + c.appwizard + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CIDE ) + +install( FILES + cpp.appwizard + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE ) + +install( FILES + kdecpp.appwizard + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE ) diff --git a/languages/cpp/app_templates/automakeempty/CMakeLists.txt b/languages/cpp/app_templates/automakeempty/CMakeLists.txt new file mode 100644 index 00000000..9639ee4e --- /dev/null +++ b/languages/cpp/app_templates/automakeempty/CMakeLists.txt @@ -0,0 +1,26 @@ +################################################# +# +# (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( automakeempty.tar.gz ALL + COMMAND tar zcf automakeempty.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + automakeempty-Makefile.am automakeempty-Makefile.cvs + configure.in automakeempty.png app.kdevelop +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/automakeempty.tar.gz automakeempty.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + automakeempty.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/chello/CMakeLists.txt b/languages/cpp/app_templates/chello/CMakeLists.txt new file mode 100644 index 00000000..afe494d9 --- /dev/null +++ b/languages/cpp/app_templates/chello/CMakeLists.txt @@ -0,0 +1,26 @@ +################################################# +# +# (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( chello.tar.gz ALL + COMMAND tar zcf chello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + main.c src-Makefile.am c-Makefile.am c-Makefile.cvs + configure.in chello.png app.kdevelop +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/chello.tar.gz chello.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + chello.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/chello_gba/CMakeLists.txt b/languages/cpp/app_templates/chello_gba/CMakeLists.txt new file mode 100644 index 00000000..3011e87e --- /dev/null +++ b/languages/cpp/app_templates/chello_gba/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( chellogba.tar.gz ALL + COMMAND tar zcf chellogba.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + main.c font.raw.c master.pal.c src-Makefile.am + c-Makefile.am c-Makefile.cvs configure.in chellogba.png + app.kdevelop main.h gba.h font.bmp README.devel +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/chellogba.tar.gz chellogba.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + chellogba.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/clanlib/CMakeLists.txt b/languages/cpp/app_templates/clanlib/CMakeLists.txt new file mode 100644 index 00000000..955dcc81 --- /dev/null +++ b/languages/cpp/app_templates/clanlib/CMakeLists.txt @@ -0,0 +1,26 @@ +################################################# +# +# (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( clanlib.tar.gz ALL + COMMAND tar zcf clanlib.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + src-Makefile.am app-Makefile.am main.cpp app.kdevelop + app-configure.in app-autogen.sh +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/clanlib.tar.gz clanlib.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + clanlib.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/cmakelibc/CMakeLists.txt b/languages/cpp/app_templates/cmakelibc/CMakeLists.txt new file mode 100644 index 00000000..841853d8 --- /dev/null +++ b/languages/cpp/app_templates/cmakelibc/CMakeLists.txt @@ -0,0 +1,26 @@ +################################################# +# +# (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( cmakelibc.tar.gz ALL + COMMAND tar zcf cmakelibc.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + test.c lib.h lib.c cmakelibc.png cmakelibc-CMakeLists.txt + CMakeLists.txt.src +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/cmakelibc.tar.gz cmakelibc.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + cmakelibc.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/cmakelibcpp/CMakeLists.txt b/languages/cpp/app_templates/cmakelibcpp/CMakeLists.txt new file mode 100644 index 00000000..26d7f3e2 --- /dev/null +++ b/languages/cpp/app_templates/cmakelibcpp/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( cmakelibcpp.tar.gz ALL + COMMAND tar zcf cmakelibcpp.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + test.cpp lib.h lib.cpp cmakelibcpp.png + cmakelibcpp-CMakeLists.txt CMakeLists.txt.src +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/cmakelibcpp.tar.gz cmakelibcpp.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + cmakelibcpp.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) + diff --git a/languages/cpp/app_templates/cmakeqt3app/CMakeLists.txt b/languages/cpp/app_templates/cmakeqt3app/CMakeLists.txt index 819d0a7e..b69d898f 100644 --- a/languages/cpp/app_templates/cmakeqt3app/CMakeLists.txt +++ b/languages/cpp/app_templates/cmakeqt3app/CMakeLists.txt @@ -1,14 +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 +# +################################################# -PROJECT(%{APPNAMELC}) +add_custom_target( cmakeqt3app.tar.gz ALL + COMMAND tar zcf cmakeqt3app.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + main.cpp cmakeqt3app.cpp cmakeqt3app.h cmakeqt3app.png + filesave.xpm fileopen.xpm fileprint.xpm + cmakeqt3app-CMakeLists.txt CMakeLists.txt.src +) -# at least cmake version 2.4.0 is required -CMAKE_MINIMUM_REQUIRED(VERSION 2.4.0) -# uncomment the following line if you require a special version of Qt -# and adjust it accordingly -# SET(QT_MIN_VERSION "3.0.0") +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/cmakeqt3app.tar.gz cmakeqt3app.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) -# try to find Qt 3 -FIND_PACKAGE(Qt3 REQUIRED) -ADD_SUBDIRECTORY(src) +install( FILES + cmakeqt3app.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/cmakeqt3app/Makefile.am b/languages/cpp/app_templates/cmakeqt3app/Makefile.am index c5fca50a..24bd6c35 100644 --- a/languages/cpp/app_templates/cmakeqt3app/Makefile.am +++ b/languages/cpp/app_templates/cmakeqt3app/Makefile.am @@ -1,5 +1,5 @@ dataFiles = main.cpp cmakeqt3app.cpp cmakeqt3app.h cmakeqt3app.png \ - filesave.xpm fileopen.xpm fileprint.xpm CMakeLists.txt CMakeLists.txt.src + filesave.xpm fileopen.xpm fileprint.xpm cmakeqt3app-CMakeLists.txt CMakeLists.txt.src templateName = cmakeqt3app diff --git a/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app-CMakeLists.txt b/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app-CMakeLists.txt new file mode 100644 index 00000000..819d0a7e --- /dev/null +++ b/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app-CMakeLists.txt @@ -0,0 +1,14 @@ + +PROJECT(%{APPNAMELC}) + +# at least cmake version 2.4.0 is required +CMAKE_MINIMUM_REQUIRED(VERSION 2.4.0) + +# uncomment the following line if you require a special version of Qt +# and adjust it accordingly +# SET(QT_MIN_VERSION "3.0.0") + +# try to find Qt 3 +FIND_PACKAGE(Qt3 REQUIRED) + +ADD_SUBDIRECTORY(src) diff --git a/languages/cpp/app_templates/cmakesimple/CMakeLists.txt b/languages/cpp/app_templates/cmakesimple/CMakeLists.txt new file mode 100644 index 00000000..621dd48a --- /dev/null +++ b/languages/cpp/app_templates/cmakesimple/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( cmakesimple.tar.gz ALL + COMMAND tar zcf cmakesimple.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + main.cpp cmakesimple.png cmakesimple-CMakeLists.txt README +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/cmakesimple.tar.gz cmakesimple.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + cmakesimple.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/cmakesimplec/CMakeLists.txt b/languages/cpp/app_templates/cmakesimplec/CMakeLists.txt new file mode 100644 index 00000000..4d07a4d6 --- /dev/null +++ b/languages/cpp/app_templates/cmakesimplec/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( cmakesimplec.tar.gz ALL + COMMAND tar zcf cmakesimplec.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + main.c cmakesimplec.png cmakesimplec-CMakeLists.txt +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/cmakesimplec.tar.gz cmakesimplec.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + cmakesimplec.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/cppcurseshello/CMakeLists.txt b/languages/cpp/app_templates/cppcurseshello/CMakeLists.txt new file mode 100644 index 00000000..1bfd8cd0 --- /dev/null +++ b/languages/cpp/app_templates/cppcurseshello/CMakeLists.txt @@ -0,0 +1,26 @@ +################################################# +# +# (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( cppcurseshello.tar.gz ALL + COMMAND tar zcf cppcurseshello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + main.cpp src-Makefile.am cpp-Makefile.am cpp-Makefile.cvs + app-configure.in app.kdevelop +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/cppcurseshello.tar.gz cppcurseshello.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + cppcurseshello.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/cpphello/CMakeLists.txt b/languages/cpp/app_templates/cpphello/CMakeLists.txt new file mode 100644 index 00000000..d8f7f8cc --- /dev/null +++ b/languages/cpp/app_templates/cpphello/CMakeLists.txt @@ -0,0 +1,26 @@ +################################################# +# +# (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( cpphello.tar.gz ALL + COMMAND tar zcf cpphello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + main.cpp src-Makefile.am cpp-Makefile.am cpp-Makefile.cvs + configure.in cpphello.png app.kdevelop +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/cpphello.tar.gz cpphello.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + cpphello.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/cppsdlhello/CMakeLists.txt b/languages/cpp/app_templates/cppsdlhello/CMakeLists.txt new file mode 100644 index 00000000..6373f0f0 --- /dev/null +++ b/languages/cpp/app_templates/cppsdlhello/CMakeLists.txt @@ -0,0 +1,26 @@ +################################################# +# +# (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( cppsdlhello.tar.gz ALL + COMMAND tar zcf cppsdlhello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + main.cpp src-Makefile.am cpp-Makefile.am cpp-Makefile.cvs + configure.in cppsdlhello.png app.kdevelop acinclude.m4 +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/cppsdlhello.tar.gz cppsdlhello.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + cppsdlhello.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/dcopservice/CMakeLists.txt b/languages/cpp/app_templates/dcopservice/CMakeLists.txt new file mode 100644 index 00000000..91f82605 --- /dev/null +++ b/languages/cpp/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( dcopservice.tar.gz ALL + COMMAND tar zcf dcopservice.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + dcopservice.desktop dcopservice.png dcopservice.h + src-Makefile.am main.cpp dcopservice.cpp + dcopservice.kdevelop subdirs +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/dcopservice.tar.gz dcopservice.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + dcopservice.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/gtk2mmapp/CMakeLists.txt b/languages/cpp/app_templates/gtk2mmapp/CMakeLists.txt new file mode 100644 index 00000000..b81f3833 --- /dev/null +++ b/languages/cpp/app_templates/gtk2mmapp/CMakeLists.txt @@ -0,0 +1,29 @@ +################################################# +# +# (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( gtk2mmapp.tar.gz ALL + COMMAND tar zcf gtk2mmapp.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + acconfig.h autogen.sh gtk2mm.glade main_window.cc + main_window_glade.hh Makefile.am app-Makefile.am + configure.in gtk2mm.gladep main_window.hh app.kdevelop + gtk2mm.cc main_window_glade.cc src-Makefile.am config.h + gtk2mmapp.png +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/gtk2mmapp.tar.gz gtk2mmapp.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + gtk2mmapp.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/kapp/CMakeLists.txt b/languages/cpp/app_templates/kapp/CMakeLists.txt new file mode 100644 index 00000000..6b736681 --- /dev/null +++ b/languages/cpp/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( kapp.tar.gz ALL + COMMAND tar zcf kapp.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + app.cpp app.h pref.cpp pref.h appview.cpp appview.h + appiface.h app_client.cpp main.cpp appui.rc src-Makefile.am + kapp.png app.kdevelop subdirs README +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/kapp.tar.gz kapp.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + kapp.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/kateplugin/CMakeLists.txt b/languages/cpp/app_templates/kateplugin/CMakeLists.txt new file mode 100644 index 00000000..5016f4f3 --- /dev/null +++ b/languages/cpp/app_templates/kateplugin/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( kateplugin.tar.gz ALL + COMMAND tar zcf kateplugin.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + src-Makefile.am plugin_app.cpp plugin_app.h plugin_app.rc + hi16-action-plugin.png hi22-action-plugin.png + kateplugin.png plugin.kdevelop subdirs plugin.desktop +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/kateplugin.tar.gz kateplugin.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + kateplugin.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/kateplugin2/CMakeLists.txt b/languages/cpp/app_templates/kateplugin2/CMakeLists.txt new file mode 100644 index 00000000..b2b725d2 --- /dev/null +++ b/languages/cpp/app_templates/kateplugin2/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( kateplugin2.tar.gz ALL + COMMAND tar zcf kateplugin2.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + src-Makefile.am plugin_app.cpp plugin_app.h plugin_app.rc + hi16-action-plugin.png hi22-action-plugin.png + kateplugin2.png plugin.kdevelop subdirs plugin.desktop +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/kateplugin2.tar.gz kateplugin2.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + kateplugin2.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/kcmodule/CMakeLists.txt b/languages/cpp/app_templates/kcmodule/CMakeLists.txt new file mode 100644 index 00000000..16a55571 --- /dev/null +++ b/languages/cpp/app_templates/kcmodule/CMakeLists.txt @@ -0,0 +1,26 @@ +################################################# +# +# (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( kcmodule.tar.gz ALL + COMMAND tar zcf kcmodule.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + module.cpp module.h module.desktop module.kdevelop + src-Makefile.am kcmodule.png subdirs +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/kcmodule.tar.gz kcmodule.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + kcmodule.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/kconfig35/CMakeLists.txt b/languages/cpp/app_templates/kconfig35/CMakeLists.txt new file mode 100644 index 00000000..9756386e --- /dev/null +++ b/languages/cpp/app_templates/kconfig35/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( kconfig35.tar.gz ALL + COMMAND tar zcf kconfig35.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + src-Makefile.am app.cpp app.h main.cpp appui.rc + app.kdevelop subdirs app.desktop kxt35.png appview.h + appview.cpp appview_base.ui prefs-base.ui prefs.cpp prefs.h + app.kcfg settings.kcfgc README src-configure.in.in +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/kconfig35.tar.gz kconfig35.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + kconfig35.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/kde4app/CMakeLists.txt b/languages/cpp/app_templates/kde4app/CMakeLists.txt new file mode 100644 index 00000000..078366fe --- /dev/null +++ b/languages/cpp/app_templates/kde4app/CMakeLists.txt @@ -0,0 +1,29 @@ +################################################# +# +# (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( kde4app.tar.gz ALL + COMMAND tar zcf kde4app.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + kapp4.cpp kapp4.h prefs_base.ui kapp4view.cpp + kapp4view.h kapp4view_base.ui main.cpp kde4appui.rc + kde4app-CMakeLists.txt kapp4.desktop kapp4.kcfg + settings.kcfgc kde4app.png README kde4app.kdevelop + kde4app.kdevelop.filelist +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/kde4app.tar.gz kde4app.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + kde4app.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/kdedcop/CMakeLists.txt b/languages/cpp/app_templates/kdedcop/CMakeLists.txt new file mode 100644 index 00000000..cca04f6a --- /dev/null +++ b/languages/cpp/app_templates/kdedcop/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( kdedcop.tar.gz ALL + COMMAND tar zcf kdedcop.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + app.cpp app.h app_iface.h app.kdevelop main.cpp + mainclass.cpp mainclass.h kdedcop.png src-Makefile.am + subdirs +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/kdedcop.tar.gz kdedcop.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + kdedcop.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/kdevlang/CMakeLists.txt b/languages/cpp/app_templates/kdevlang/CMakeLists.txt new file mode 100644 index 00000000..854ca21e --- /dev/null +++ b/languages/cpp/app_templates/kdevlang/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( kdevlang.tar.gz ALL + COMMAND tar zcf kdevlang.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + src-Makefile.am kdevlang_part.cpp kdevlang_part.h + kdevlang.rc kdevlang.desktop app.kdevelop + kdevlang-configure.in.in README.dox +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/kdevlang.tar.gz kdevlang.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + kdevlang.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/kdevpart/CMakeLists.txt b/languages/cpp/app_templates/kdevpart/CMakeLists.txt new file mode 100644 index 00000000..aa4a738e --- /dev/null +++ b/languages/cpp/app_templates/kdevpart/CMakeLists.txt @@ -0,0 +1,29 @@ +################################################# +# +# (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( kdevpart.tar.gz ALL + COMMAND tar zcf kdevpart.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + src-Makefile.am kdevpart_part.cpp kdevpart_part.h + kdevpart_widget.h kdevpart_widget.cpp kdevpart_part.rc + kdevpart.desktop app.kdevelop README.dox + globalconfigbase.ui globalconfig.h globalconfig.cpp + projectconfigbase.ui projectconfig.h projectconfig.cpp +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/kdevpart.tar.gz kdevpart.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + kdevpart.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/kdevpart2/CMakeLists.txt b/languages/cpp/app_templates/kdevpart2/CMakeLists.txt new file mode 100644 index 00000000..2414bc80 --- /dev/null +++ b/languages/cpp/app_templates/kdevpart2/CMakeLists.txt @@ -0,0 +1,30 @@ +################################################# +# +# (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( kdevpart2.tar.gz ALL + COMMAND tar zcf kdevpart2.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + src-Makefile.am kdevpart_part.cpp kdevpart_part.h + kdevpart_widget.h kdevpart_widget.cpp kdevpart_part.rc + kdevpart.desktop app.kdevelop kdevpart-configure.in.in + README.dox subdirs globalconfigbase.ui globalconfig.h + globalconfig.cpp projectconfigbase.ui projectconfig.h + projectconfig.cpp +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/kdevpart2.tar.gz kdevpart2.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + kdevpart2.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/kfileplugin/CMakeLists.txt b/languages/cpp/app_templates/kfileplugin/CMakeLists.txt new file mode 100644 index 00000000..8bbcf675 --- /dev/null +++ b/languages/cpp/app_templates/kfileplugin/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( kfileplugin.tar.gz ALL + COMMAND tar zcf kfileplugin.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + README.devel kfile_plugin.cpp kfile_plugin.desktop + kfile_plugin.h plugin.kdevelop kfileplugin kfileplugin.png + src-Makefile.am subdirs +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/kfileplugin.tar.gz kfileplugin.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + kfileplugin.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/khello/CMakeLists.txt b/languages/cpp/app_templates/khello/CMakeLists.txt new file mode 100644 index 00000000..f51a2100 --- /dev/null +++ b/languages/cpp/app_templates/khello/CMakeLists.txt @@ -0,0 +1,26 @@ +################################################# +# +# (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( khello.tar.gz ALL + COMMAND tar zcf khello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + src-Makefile.am app.cpp app.h main.cpp appui.rc + app.kdevelop subdirs app.desktop khello.png +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/khello.tar.gz khello.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + khello.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/khello2/CMakeLists.txt b/languages/cpp/app_templates/khello2/CMakeLists.txt new file mode 100644 index 00000000..e8a178bc --- /dev/null +++ b/languages/cpp/app_templates/khello2/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( khello2.tar.gz ALL + COMMAND tar zcf khello2.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + src-Makefile.am app.cpp app.h main.cpp appui.rc + app.kdevelop subdirs app.desktop khello2.png widget.cpp + widget.h widgetbase.ui +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/khello2.tar.gz khello2.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + khello2.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/kicker/CMakeLists.txt b/languages/cpp/app_templates/kicker/CMakeLists.txt new file mode 100644 index 00000000..703f49c4 --- /dev/null +++ b/languages/cpp/app_templates/kicker/CMakeLists.txt @@ -0,0 +1,26 @@ +################################################# +# +# (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( kicker.tar.gz ALL + COMMAND tar zcf kicker.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + applet.cpp applet.h applet.desktop applet.kdevelop + src-Makefile.am kicker.png subdirs +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/kicker.tar.gz kicker.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + kicker.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/kioslave/CMakeLists.txt b/languages/cpp/app_templates/kioslave/CMakeLists.txt new file mode 100644 index 00000000..3f41d6d2 --- /dev/null +++ b/languages/cpp/app_templates/kioslave/CMakeLists.txt @@ -0,0 +1,26 @@ +################################################# +# +# (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( kioslave.tar.gz ALL + COMMAND tar zcf kioslave.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + slave.cpp slave.h slave.protocol slave.kdevelop + src-Makefile.am kioslave.png subdirs +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/kioslave.tar.gz kioslave.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + kioslave.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/kmod/CMakeLists.txt b/languages/cpp/app_templates/kmod/CMakeLists.txt new file mode 100644 index 00000000..b67f3b01 --- /dev/null +++ b/languages/cpp/app_templates/kmod/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( kmod.tar.gz ALL + COMMAND tar zcf kmod.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + src-Makefile kmod.kdevelop kmod-driver.c +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/kmod.tar.gz kmod.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + kmod.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/kofficepart/CMakeLists.txt b/languages/cpp/app_templates/kofficepart/CMakeLists.txt new file mode 100644 index 00000000..2462d462 --- /dev/null +++ b/languages/cpp/app_templates/kofficepart/CMakeLists.txt @@ -0,0 +1,29 @@ +################################################# +# +# (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( kopart.tar.gz ALL + COMMAND tar zcf kopart.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + kopart.kdevelop kopart_aboutdata.h kopart_part.cpp + kopart_view.h src-Makefile.am kopart.png kopart_factory.cpp + kopart_part.h subdirs kopart.desktop kopart.rc + kopart_factory.h kopart_view.cpp x-kopart.desktop + kde-configure.in.in main.cpp +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/kopart.tar.gz kopart.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + kopart.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/konqnavpanel/CMakeLists.txt b/languages/cpp/app_templates/konqnavpanel/CMakeLists.txt new file mode 100644 index 00000000..89bf20db --- /dev/null +++ b/languages/cpp/app_templates/konqnavpanel/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( konqnavpanel.tar.gz ALL + COMMAND tar zcf konqnavpanel.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + konqnavpanel.cpp konqnavpanel.h konqnavpanel.desktop + konqnavpanel.kdevelop src-Makefile.am konqnavpanel.png + subdirs +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/konqnavpanel.tar.gz konqnavpanel.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + konqnavpanel.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/kpartapp/CMakeLists.txt b/languages/cpp/app_templates/kpartapp/CMakeLists.txt new file mode 100644 index 00000000..80d44525 --- /dev/null +++ b/languages/cpp/app_templates/kpartapp/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( kpartapp.tar.gz ALL + COMMAND tar zcf kpartapp.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + src-Makefile.am app.cpp app.h app_part.cpp app_part.h + main.cpp app_part.rc app_shell.rc kpartapp.png app.kdevelop + subdirs +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/kpartapp.tar.gz kpartapp.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + kpartapp.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/kpartplugin/CMakeLists.txt b/languages/cpp/app_templates/kpartplugin/CMakeLists.txt new file mode 100644 index 00000000..0de10864 --- /dev/null +++ b/languages/cpp/app_templates/kpartplugin/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( kpartplugin.tar.gz ALL + COMMAND tar zcf kpartplugin.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + src-Makefile.am plugin_app.cpp plugin_app.h plugin_app.rc + hi16-action-plugin.png hi22-action-plugin.png + kpartplugin.png plugin.kdevelop subdirs +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/kpartplugin.tar.gz kpartplugin.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + kpartplugin.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/kscons_kmdi/CMakeLists.txt b/languages/cpp/app_templates/kscons_kmdi/CMakeLists.txt new file mode 100644 index 00000000..87a8bd63 --- /dev/null +++ b/languages/cpp/app_templates/kscons_kmdi/CMakeLists.txt @@ -0,0 +1,30 @@ +################################################# +# +# (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( kscons_kmdi.tar.gz ALL + COMMAND tar zcf kscons_kmdi.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + app.kcfg app.kdevelop appkmdi.cpp appkmdi.h appkmdiView.cpp + appkmdiView.h INSTALL kmdikonsole.cpp kmdikonsole.h + main.cpp messages.sh prefs.ui QUICKSTART README + SConscript-doc SConscript-src SConstruct settings.kcfgc + tips VERSION app_part.cpp app_part.h app_part.rc + app_shell.rc +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/kscons_kmdi.tar.gz kscons_kmdi.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + kscons_kmdi.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/kscons_kxt/CMakeLists.txt b/languages/cpp/app_templates/kscons_kxt/CMakeLists.txt new file mode 100644 index 00000000..dae6dd3b --- /dev/null +++ b/languages/cpp/app_templates/kscons_kxt/CMakeLists.txt @@ -0,0 +1,29 @@ +################################################# +# +# (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( kscons_kxt.tar.gz ALL + COMMAND tar zcf kscons_kxt.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + app.cpp app.h main.cpp appui.rc app.kdevelop appview.h + appview.cpp appview_base.ui prefs-base.ui prefs.cpp + prefs.h app.kcfg settings.kcfgc messages.sh SConstruct + SConscript-doc SConscript-src tips VERSION QUICKSTART + INSTALL README +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/kscons_kxt.tar.gz kscons_kxt.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + kscons_kxt.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/kscreensaver/CMakeLists.txt b/languages/cpp/app_templates/kscreensaver/CMakeLists.txt new file mode 100644 index 00000000..fc8ab374 --- /dev/null +++ b/languages/cpp/app_templates/kscreensaver/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( kscreensaver.tar.gz ALL + COMMAND tar zcf kscreensaver.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + kscreensaver.desktop kscreensaver.png kscreensaver.h + kscreensaverui.ui src-Makefile.am kscreensaver.cpp + kscreensaver.kdevelop subdirs +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/kscreensaver.tar.gz kscreensaver.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + kscreensaver.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/kxt/CMakeLists.txt b/languages/cpp/app_templates/kxt/CMakeLists.txt new file mode 100644 index 00000000..25505013 --- /dev/null +++ b/languages/cpp/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( kxt.tar.gz ALL + COMMAND tar zcf kxt.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + src-Makefile.am app.cpp app.h main.cpp appui.rc + app.kdevelop subdirs app.desktop preview.png appview.h + appview.cpp appview_base.ui prefs-base.ui prefs.cpp prefs.h + app.kcfg settings.kcfgc README src-configure.in.in +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/kxt.tar.gz kxt.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + kxt.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/makefileempty/CMakeLists.txt b/languages/cpp/app_templates/makefileempty/CMakeLists.txt new file mode 100644 index 00000000..04cc2b33 --- /dev/null +++ b/languages/cpp/app_templates/makefileempty/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( makefileempty.tar.gz ALL + COMMAND tar zcf makefileempty.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + makefileempty-Makefile makefileempty.png app.kdevelop +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/makefileempty.tar.gz makefileempty.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + makefileempty.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/noatunui/CMakeLists.txt b/languages/cpp/app_templates/noatunui/CMakeLists.txt new file mode 100644 index 00000000..506cd194 --- /dev/null +++ b/languages/cpp/app_templates/noatunui/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( noatunui.tar.gz ALL + COMMAND tar zcf noatunui.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + src-Makefile.am plugin_app.cpp plugin_impl.cpp + plugin_impl.h noatunui.png plugin.plugin plugin.kdevelop + subdirs +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/noatunui.tar.gz noatunui.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + noatunui.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/noatunvisual/CMakeLists.txt b/languages/cpp/app_templates/noatunvisual/CMakeLists.txt new file mode 100644 index 00000000..5a92db6f --- /dev/null +++ b/languages/cpp/app_templates/noatunvisual/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( noatunvisual.tar.gz ALL + COMMAND tar zcf noatunvisual.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + src-Makefile.am plugin_app.cpp plugin_app.h plugin_impl.cpp + plugin_impl.h noatunvisual.png plugin.plugin + plugin.kdevelop subdirs noatunvisual-configure.in.in +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/noatunvisual.tar.gz noatunvisual.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + noatunvisual.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/opieapp/CMakeLists.txt b/languages/cpp/app_templates/opieapp/CMakeLists.txt new file mode 100644 index 00000000..1e8ce9db --- /dev/null +++ b/languages/cpp/app_templates/opieapp/CMakeLists.txt @@ -0,0 +1,26 @@ +################################################# +# +# (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( opieapp.tar.gz ALL + COMMAND tar zcf opieapp.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + Example.png app.kdevelop example.desktop Makefile.am + app.pro example.cpp example.h examplebase.ui +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/opieapp.tar.gz opieapp.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + opieapp.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/opieapplet/CMakeLists.txt b/languages/cpp/app_templates/opieapplet/CMakeLists.txt new file mode 100644 index 00000000..de20130d --- /dev/null +++ b/languages/cpp/app_templates/opieapplet/CMakeLists.txt @@ -0,0 +1,26 @@ +################################################# +# +# (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( opieapplet.tar.gz ALL + COMMAND tar zcf opieapplet.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + Makefile.am Example.png app.kdevelop app.pro simpleimpl.cpp + simpleimpl.h +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/opieapplet.tar.gz opieapplet.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + opieapplet.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/opieinput/CMakeLists.txt b/languages/cpp/app_templates/opieinput/CMakeLists.txt new file mode 100644 index 00000000..e942fb09 --- /dev/null +++ b/languages/cpp/app_templates/opieinput/CMakeLists.txt @@ -0,0 +1,26 @@ +################################################# +# +# (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( opieinput.tar.gz ALL + COMMAND tar zcf opieinput.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + Makefile.am Example.png app.kdevelop app.pro simpleimpl.cpp + simpleimpl.h +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/opieinput.tar.gz opieinput.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + opieinput.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/opiemenu/CMakeLists.txt b/languages/cpp/app_templates/opiemenu/CMakeLists.txt new file mode 100644 index 00000000..8567a4f8 --- /dev/null +++ b/languages/cpp/app_templates/opiemenu/CMakeLists.txt @@ -0,0 +1,26 @@ +################################################# +# +# (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( opiemenu.tar.gz ALL + COMMAND tar zcf opiemenu.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + Makefile.am Example.png app.kdevelop app.pro simpleimpl.cpp + simpleimpl.h +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/opiemenu.tar.gz opiemenu.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + opiemenu.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/opienet/CMakeLists.txt b/languages/cpp/app_templates/opienet/CMakeLists.txt new file mode 100644 index 00000000..1c95a265 --- /dev/null +++ b/languages/cpp/app_templates/opienet/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( opienet.tar.gz ALL + COMMAND tar zcf opienet.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + Makefile.am Example.png app.kdevelop app.pro + simpleiface.cpp simpleiface.h simplemodule.h + simplemodule.cpp +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/opienet.tar.gz opienet.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + opienet.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/opietoday/CMakeLists.txt b/languages/cpp/app_templates/opietoday/CMakeLists.txt new file mode 100644 index 00000000..3d86b992 --- /dev/null +++ b/languages/cpp/app_templates/opietoday/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( opietoday.tar.gz ALL + COMMAND tar zcf opietoday.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + Makefile.am Example.png app.kdevelop + app.pro exampleplugin.cpp examplepluginimpl.cpp + examplepluginwidget.cpp exampleplugin.h examplepluginimpl.h + examplepluginwidget.h +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/opietoday.tar.gz opietoday.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + opietoday.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/qmakeapp/CMakeLists.txt b/languages/cpp/app_templates/qmakeapp/CMakeLists.txt new file mode 100644 index 00000000..febda6f6 --- /dev/null +++ b/languages/cpp/app_templates/qmakeapp/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( qmakeapp.tar.gz ALL + COMMAND tar zcf qmakeapp.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + main.cpp qmakeapp.cpp qmakeapp.h qmakeapp.png + qmakeapp.kdevelop qmakeapp.pro src.pro filesave.xpm + fileopen.xpm fileprint.xpm +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/qmakeapp.tar.gz qmakeapp.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + qmakeapp.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/qmakeempty/CMakeLists.txt b/languages/cpp/app_templates/qmakeempty/CMakeLists.txt new file mode 100644 index 00000000..d6424957 --- /dev/null +++ b/languages/cpp/app_templates/qmakeempty/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( qmakeempty.tar.gz ALL + COMMAND tar zcf qmakeempty.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + qmakeempty.kdevelop qmakeempty.pro qmakeempty.png +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/qmakeempty.tar.gz qmakeempty.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + qmakeempty.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/qmakesimple/CMakeLists.txt b/languages/cpp/app_templates/qmakesimple/CMakeLists.txt new file mode 100644 index 00000000..3693890b --- /dev/null +++ b/languages/cpp/app_templates/qmakesimple/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( qmakesimple.tar.gz ALL + COMMAND tar zcf qmakesimple.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + main.cpp qmakesimple.png app.kdevelop app.pro src.pro +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/qmakesimple.tar.gz qmakesimple.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + qmakesimple.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/qt4hello/CMakeLists.txt b/languages/cpp/app_templates/qt4hello/CMakeLists.txt new file mode 100644 index 00000000..9ee76557 --- /dev/null +++ b/languages/cpp/app_templates/qt4hello/CMakeLists.txt @@ -0,0 +1,26 @@ +################################################# +# +# (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( qt4hello.tar.gz ALL + COMMAND tar zcf qt4hello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + main.cpp qt4hello.png qt4hello.kdevelop qt4hello.pro + src.pro ReadMe +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/qt4hello.tar.gz qt4hello.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + qt4hello.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/qt4makeapp/CMakeLists.txt b/languages/cpp/app_templates/qt4makeapp/CMakeLists.txt new file mode 100644 index 00000000..9b294a7b --- /dev/null +++ b/languages/cpp/app_templates/qt4makeapp/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( qt4makeapp.tar.gz ALL + COMMAND tar zcf qt4makeapp.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + main.cpp qt4makeapp.cpp qt4makeapp.h qt4makeapp.png + qt4makeapp.kdevelop qt4makeapp.pro src.pro application.qrc + ReadMe filesave.xpm fileopen.xpm filenew.xpm editcopy.xpm + editpaste.xpm editcut.xpm +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/qt4makeapp.tar.gz qt4makeapp.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + qt4makeapp.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/qtopia4app/CMakeLists.txt b/languages/cpp/app_templates/qtopia4app/CMakeLists.txt new file mode 100644 index 00000000..70331f8f --- /dev/null +++ b/languages/cpp/app_templates/qtopia4app/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( qtopia4app.tar.gz ALL + COMMAND tar zcf qtopia4app.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + Example.png app.kdevelop example.desktop example.html + main.cpp Makefile.am app.pro example.cpp example.h + examplebase.ui +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/qtopia4app.tar.gz qtopia4app.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + qtopia4app.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/qtopiaapp/CMakeLists.txt b/languages/cpp/app_templates/qtopiaapp/CMakeLists.txt new file mode 100644 index 00000000..959515e9 --- /dev/null +++ b/languages/cpp/app_templates/qtopiaapp/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( qtopiaapp.tar.gz ALL + COMMAND tar zcf qtopiaapp.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + Example.png app.kdevelop example.control example.desktop + example.html main.cpp Makefile.am app.pro example.cpp + example.h examplebase.ui qtopiaapp +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/qtopiaapp.tar.gz qtopiaapp.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + qtopiaapp.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/win32gui/CMakeLists.txt b/languages/cpp/app_templates/win32gui/CMakeLists.txt new file mode 100644 index 00000000..9aa12a42 --- /dev/null +++ b/languages/cpp/app_templates/win32gui/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( win32gui.tar.gz ALL + COMMAND tar zcf win32gui.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + app.cpp src-Makefile.am win32gui-Makefile.am + win32gui-Makefile.cvs win32gui-configure.in win32gui.png + app.kdevelop +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/win32gui.tar.gz win32gui.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + win32gui.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/win32hello/CMakeLists.txt b/languages/cpp/app_templates/win32hello/CMakeLists.txt new file mode 100644 index 00000000..d3d7d6ec --- /dev/null +++ b/languages/cpp/app_templates/win32hello/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( win32hello.tar.gz ALL + COMMAND tar zcf win32hello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + app.cpp src-Makefile.am win32-Makefile.am + win32-Makefile.cvs win32-configure.in win32hello.png + app.kdevelop +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/win32hello.tar.gz win32hello.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + win32hello.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/wxhello/CMakeLists.txt b/languages/cpp/app_templates/wxhello/CMakeLists.txt new file mode 100644 index 00000000..57ec33db --- /dev/null +++ b/languages/cpp/app_templates/wxhello/CMakeLists.txt @@ -0,0 +1,26 @@ +################################################# +# +# (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( wxhello.tar.gz ALL + COMMAND tar zcf wxhello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + src-Makefile.am app.cpp app.h app.kdevelop subdirs + app.desktop wxhello.png +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/wxhello.tar.gz wxhello.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + wxhello.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/compiler/CMakeLists.txt b/languages/cpp/compiler/CMakeLists.txt new file mode 100644 index 00000000..0abd9f4a --- /dev/null +++ b/languages/cpp/compiler/CMakeLists.txt @@ -0,0 +1,12 @@ +################################################# +# +# (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( gccoptions ) diff --git a/languages/cpp/compiler/gccoptions/CMakeLists.txt b/languages/cpp/compiler/gccoptions/CMakeLists.txt new file mode 100644 index 00000000..35c6159d --- /dev/null +++ b/languages/cpp/compiler/gccoptions/CMakeLists.txt @@ -0,0 +1,40 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extras + ${CMAKE_SOURCE_DIR}/lib/widgets/ + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES + kdevgccoptions.desktop kdevgppoptions.desktop + kdevg77options.desktop + DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libkdevgccoptions (module) ################ + +tde_add_kpart( libkdevgccoptions AUTOMOC + SOURCES gccoptionsplugin.cpp + LINK kdevwidgets-shared kdevextras-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/languages/cpp/debugger/CMakeLists.txt b/languages/cpp/debugger/CMakeLists.txt new file mode 100644 index 00000000..115b00f8 --- /dev/null +++ b/languages/cpp/debugger/CMakeLists.txt @@ -0,0 +1,55 @@ +################################################# +# +# (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( mi ) + +# FIXME KDE_CXXFLAGS = $(USE_EXCEPTIONS) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/languages/lib/debugger + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/util + ${CMAKE_SOURCE_DIR}/lib/widgets + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +tde_install_icons( ) +install( FILES kdevdebugger.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevdebugger.rc DESTINATION ${DATA_INSTALL_DIR}/kdevdebugger ) + + +##### libkdevdebugger (module) ################## + +tde_add_kpart( libkdevdebugger AUTOMOC + SOURCES + debuggerdcopinterface.skel debuggerpart.cpp + dbgcontroller.cpp gdbcontroller.cpp gdbcommand.cpp + gdbparser.cpp stty.cpp breakpoint.cpp + variablewidget.cpp gdbbreakpointwidget.cpp + framestackwidget.cpp disassemblewidget.cpp memviewdlg.cpp + dbgpsdlg.cpp dbgtoolbar.cpp debuggerconfigwidget.cpp + debuggerconfigwidgetbase.ui debuggertracingdialogbase.ui + gdboutputwidget.cpp gdbtable.cpp debuggertracingdialog.cpp + label_with_double_click.cpp + LINK gdbmi_parser-shared lang_debugger-shared kdevwidgets-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/languages/cpp/debugger/mi/CMakeLists.txt b/languages/cpp/debugger/mi/CMakeLists.txt new file mode 100644 index 00000000..180a7c67 --- /dev/null +++ b/languages/cpp/debugger/mi/CMakeLists.txt @@ -0,0 +1,31 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +# FIXME KDE_CXXFLAGS = $(USE_EXCEPTIONS) + +include_directories( + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### gdbmi_parser (shared) ##################### + +tde_add_library( gdbmi_parser SHARED + SOURCES gdbmi.cpp miparser.cpp milexer.cpp + VERSION 0.0.0 + LINK ${TQT_LIBRARIES} + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/languages/cpp/doc/CMakeLists.txt b/languages/cpp/doc/CMakeLists.txt new file mode 100644 index 00000000..9a2b4e11 --- /dev/null +++ b/languages/cpp/doc/CMakeLists.txt @@ -0,0 +1,17 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + libc.toc libstdc++.toc kdetemplates.toc stl.toc + qt-kdev3.toc kde2book.toc gnustep.toc gnome1.toc + clanlib.toc c++_bugs_gcc.toc gtk_bugs.toc + wxwidgets_bugs.toc cppannotations.toc + DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation/tocs ) diff --git a/languages/cpp/file_templates/CMakeLists.txt b/languages/cpp/file_templates/CMakeLists.txt new file mode 100644 index 00000000..17909c7d --- /dev/null +++ b/languages/cpp/file_templates/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + c cpp h l ll y yy + DESTINATION ${DATA_INSTALL_DIR}/kdevfilecreate/file-templates ) diff --git a/languages/cpp/newclass_templates/CMakeLists.txt b/languages/cpp/newclass_templates/CMakeLists.txt new file mode 100644 index 00000000..73b9bff5 --- /dev/null +++ b/languages/cpp/newclass_templates/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + cpp_header cpp_source gtk_header gtk_source objc_header + objc_source + DESTINATION ${DATA_INSTALL_DIR}/kdevcppsupport/newclass ) diff --git a/languages/cpp/pcsimporter/CMakeLists.txt b/languages/cpp/pcsimporter/CMakeLists.txt new file mode 100644 index 00000000..7f070539 --- /dev/null +++ b/languages/cpp/pcsimporter/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (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( qtimporter ) +add_subdirectory( kdelibsimporter ) +add_subdirectory( customimporter ) +add_subdirectory( qt4importer ) diff --git a/languages/cpp/pcsimporter/customimporter/CMakeLists.txt b/languages/cpp/pcsimporter/customimporter/CMakeLists.txt new file mode 100644 index 00000000..0d807a57 --- /dev/null +++ b/languages/cpp/pcsimporter/customimporter/CMakeLists.txt @@ -0,0 +1,38 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/languages/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevpcscustomimporter.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libkdevcustompcsimporter (module) ######### + +tde_add_kpart( libkdevcustompcsimporter AUTOMOC + SOURCES + kdevcustomimporter.cpp settingsdialog.cpp + settingsdialogbase.ui + LINK lang_interfaces-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/languages/cpp/pcsimporter/kdelibsimporter/CMakeLists.txt b/languages/cpp/pcsimporter/kdelibsimporter/CMakeLists.txt new file mode 100644 index 00000000..e74d7bf1 --- /dev/null +++ b/languages/cpp/pcsimporter/kdelibsimporter/CMakeLists.txt @@ -0,0 +1,38 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/languages/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevkdelibsimporter.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libkdevkdelibsimporter (module) ########### + +tde_add_kpart( libkdevkdelibsimporter AUTOMOC + SOURCES + kdevkdelibsimporter.cpp settingsdialogbase.ui + settingsdialog.cpp + LINK lang_interfaces-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/languages/cpp/pcsimporter/qt4importer/CMakeLists.txt b/languages/cpp/pcsimporter/qt4importer/CMakeLists.txt new file mode 100644 index 00000000..3eac2ddc --- /dev/null +++ b/languages/cpp/pcsimporter/qt4importer/CMakeLists.txt @@ -0,0 +1,38 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/languages/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevqt4importer.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libkdevqt4importer (module) ############### + +tde_add_kpart( libkdevqt4importer AUTOMOC + SOURCES + kdevqt4importer.cpp settingsdialogbase.ui + settingsdialog.cpp + LINK lang_interfaces-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/languages/cpp/pcsimporter/qtimporter/CMakeLists.txt b/languages/cpp/pcsimporter/qtimporter/CMakeLists.txt new file mode 100644 index 00000000..9f60fd6b --- /dev/null +++ b/languages/cpp/pcsimporter/qtimporter/CMakeLists.txt @@ -0,0 +1,37 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/languages/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevqtimporter.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libkdevqtimporter (module) ################ + +tde_add_kpart( libkdevqtimporter AUTOMOC + SOURCES + kdevqtimporter.cpp settingsdialogbase.ui settingsdialog.cpp + LINK lang_interfaces-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/languages/cpp/subclassing_template/CMakeLists.txt b/languages/cpp/subclassing_template/CMakeLists.txt new file mode 100644 index 00000000..3223a7d7 --- /dev/null +++ b/languages/cpp/subclassing_template/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + subclass_template.h subclass_template.cpp + subclass_qt4_template.h subclass_qt4_template.cpp + DESTINATION ${DATA_INSTALL_DIR}/kdevcppsupport/subclassing ) diff --git a/languages/cpp/templates/CMakeLists.txt b/languages/cpp/templates/CMakeLists.txt new file mode 100644 index 00000000..c278a137 --- /dev/null +++ b/languages/cpp/templates/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + default.cpp default.h + DESTINATION ${DATA_INSTALL_DIR}/kdevcppsupport/templates ) -- cgit v1.2.1