diff options
Diffstat (limited to 'languages')
153 files changed, 4070 insertions, 26 deletions
diff --git a/languages/CMakeLists.txt b/languages/CMakeLists.txt new file mode 100644 index 00000000..d4c75faa --- /dev/null +++ b/languages/CMakeLists.txt @@ -0,0 +1,24 @@ +################################################# +# +# (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( lib ) +tde_conditional_add_subdirectory( WITH_LANGUAGE_ADA ada ) +tde_conditional_add_subdirectory( WITH_LANGUAGE_BASH bash ) +tde_conditional_add_subdirectory( WITH_LANGUAGE_CPP cpp ) +tde_conditional_add_subdirectory( WITH_LANGUAGE_FORTRAN fortran ) +tde_conditional_add_subdirectory( WITH_LANGUAGE_JAVA java ) +tde_conditional_add_subdirectory( WITH_LANGUAGE_CSHARP csharp ) +tde_conditional_add_subdirectory( WITH_LANGUAGE_PASCAL pascal ) +tde_conditional_add_subdirectory( WITH_LANGUAGE_PERL perl ) +tde_conditional_add_subdirectory( WITH_LANGUAGE_PHP php ) +tde_conditional_add_subdirectory( WITH_LANGUAGE_PYTHON python ) +tde_conditional_add_subdirectory( WITH_LANGUAGE_RUBY ruby ) +tde_conditional_add_subdirectory( WITH_LANGUAGE_SQL sql ) diff --git a/languages/ada/CMakeLists.txt b/languages/ada/CMakeLists.txt new file mode 100644 index 00000000..976f6902 --- /dev/null +++ b/languages/ada/CMakeLists.txt @@ -0,0 +1,50 @@ +################################################# +# +# (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( app_templates ) +add_subdirectory( file_templates ) +add_subdirectory( doc ) + +# FIXME KDE_CXXFLAGS = $(USE_EXCEPTIONS) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/external + ${CMAKE_SOURCE_DIR}/lib/util + ${CMAKE_SOURCE_DIR}/lib/antlr + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevadasupport.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevadasupport.rc DESTINATION ${DATA_INSTALL_DIR}/kdevadasupport ) + + +##### libkdevadasupport (module) ################ + +tde_add_kpart( libkdevadasupport AUTOMOC + SOURCES + adasupportpart.cpp problemreporter.cpp backgroundparser.cpp + addclassdlg.ui addclass.cpp configproblemreporter.ui + ada_utils.cpp adasupport.cpp AdaLexer.cpp AdaParser.cpp + AdaTreeParserSuper.cpp AdaStoreWalker.cpp + LINK antlr-static kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/languages/ada/app_templates/CMakeLists.txt b/languages/ada/app_templates/CMakeLists.txt new file mode 100644 index 00000000..d5fd9bf2 --- /dev/null +++ b/languages/ada/app_templates/CMakeLists.txt @@ -0,0 +1,16 @@ +################################################# +# +# (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( adahello ) + +install( FILES + ada.appwizard + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE/AdaIDE ) diff --git a/languages/ada/app_templates/adahello/CMakeLists.txt b/languages/ada/app_templates/adahello/CMakeLists.txt new file mode 100644 index 00000000..5c0dbc7a --- /dev/null +++ b/languages/ada/app_templates/adahello/CMakeLists.txt @@ -0,0 +1,22 @@ +################################################# +# +# (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( adahello.tar.gz ALL + COMMAND + tar zcf adahello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} main.adb app.kdevelop ada-Makefile app.kdevelop.filelist ) + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/adahello.tar.gz adahello.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + +install( FILES + adahello.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/ada/doc/CMakeLists.txt b/languages/ada/doc/CMakeLists.txt new file mode 100644 index 00000000..62b3ef26 --- /dev/null +++ b/languages/ada/doc/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 + ada.toc ada_bugs_gcc.toc + DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation/tocs ) diff --git a/languages/ada/file_templates/CMakeLists.txt b/languages/ada/file_templates/CMakeLists.txt new file mode 100644 index 00000000..21d16b69 --- /dev/null +++ b/languages/ada/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 + adb ads + DESTINATION ${DATA_INSTALL_DIR}/kdevfilecreate/file-templates ) diff --git a/languages/bash/CMakeLists.txt b/languages/bash/CMakeLists.txt new file mode 100644 index 00000000..0d887e4a --- /dev/null +++ b/languages/bash/CMakeLists.txt @@ -0,0 +1,42 @@ +################################################# +# +# (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( app_templates ) +add_subdirectory( doc ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/interfaces/external + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevbashsupport.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevbashsupport.rc DESTINATION ${DATA_INSTALL_DIR}/kdevbashsupport ) + + +##### libkdevbashsupport (module) ############### + +tde_add_kpart( libkdevbashsupport AUTOMOC + SOURCES bashsupport_part.cpp + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/languages/bash/app_templates/CMakeLists.txt b/languages/bash/app_templates/CMakeLists.txt new file mode 100644 index 00000000..7aa79062 --- /dev/null +++ b/languages/bash/app_templates/CMakeLists.txt @@ -0,0 +1,16 @@ +################################################# +# +# (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( bashhello ) + +install( FILES + bash.appwizard + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/ScriptingLanguageIDE/ShellIDE ) diff --git a/languages/bash/app_templates/bashhello/CMakeLists.txt b/languages/bash/app_templates/bashhello/CMakeLists.txt new file mode 100644 index 00000000..3e7aba81 --- /dev/null +++ b/languages/bash/app_templates/bashhello/CMakeLists.txt @@ -0,0 +1,22 @@ +################################################# +# +# (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( bashhello.tar.gz ALL + COMMAND + tar zcf bashhello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} app.sh app.kdevelop ) + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/bashhello.tar.gz bashhello.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + +install( FILES + bashhello.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/bash/doc/CMakeLists.txt b/languages/bash/doc/CMakeLists.txt new file mode 100644 index 00000000..0d2d2a83 --- /dev/null +++ b/languages/bash/doc/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 + bash.toc bash_bugs.toc + DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation/tocs ) 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 ) diff --git a/languages/csharp/CMakeLists.txt b/languages/csharp/CMakeLists.txt new file mode 100644 index 00000000..3d68dd7c --- /dev/null +++ b/languages/csharp/CMakeLists.txt @@ -0,0 +1,59 @@ +################################################# +# +# (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( app_templates ) +add_subdirectory( file_templates ) +add_subdirectory( doc ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/interfaces/external + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES + kdevcsharpsupport.desktop csharpdoc.protocol + DESTINATION ${SERVICES_INSTALL_DIR} ) + +install( FILES + kdevcsharpsupport.rc + DESTINATION ${DATA_INSTALL_DIR}/kdevcsharpsupport ) + + +##### libkdevcsharpsupport (module) ############# + +tde_add_kpart( libkdevcsharpsupport AUTOMOC + SOURCES + csharpsupportpart.cpp csharpconfigwidget.cpp + csharpconfigwidgetbase.ui + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### kio_csharpdoc (module) #################### + +tde_add_kpart( kio_csharpdoc AUTOMOC + SOURCES csharpdoc.cpp + LINK kio-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/languages/csharp/app_templates/CMakeLists.txt b/languages/csharp/app_templates/CMakeLists.txt new file mode 100644 index 00000000..fa6089e3 --- /dev/null +++ b/languages/csharp/app_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 + csharp.appwizard + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/ScriptingLanguageIDE/CSharpIDE ) diff --git a/languages/csharp/doc/CMakeLists.txt b/languages/csharp/doc/CMakeLists.txt new file mode 100644 index 00000000..96e1e621 --- /dev/null +++ b/languages/csharp/doc/CMakeLists.txt @@ -0,0 +1,10 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# diff --git a/languages/csharp/file_templates/CMakeLists.txt b/languages/csharp/file_templates/CMakeLists.txt new file mode 100644 index 00000000..96e1e621 --- /dev/null +++ b/languages/csharp/file_templates/CMakeLists.txt @@ -0,0 +1,10 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# diff --git a/languages/fortran/CMakeLists.txt b/languages/fortran/CMakeLists.txt new file mode 100644 index 00000000..14705d83 --- /dev/null +++ b/languages/fortran/CMakeLists.txt @@ -0,0 +1,46 @@ +################################################# +# +# (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( file_templates ) +add_subdirectory( app_templates ) +add_subdirectory( compiler ) +add_subdirectory( doc ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/interfaces/external + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevfortransupport.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevfortransupport.rc DESTINATION ${DATA_INSTALL_DIR}/kdevfortransupport ) + + +##### libkdevfortransupport (module) ############ + +tde_add_kpart( libkdevfortransupport AUTOMOC + SOURCES + fortransupportpart.cpp fixedformparser.cpp + ftnchekconfigwidget.cpp ftnchekconfigwidgetbase.ui + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/languages/fortran/app_templates/CMakeLists.txt b/languages/fortran/app_templates/CMakeLists.txt new file mode 100644 index 00000000..d34e1f05 --- /dev/null +++ b/languages/fortran/app_templates/CMakeLists.txt @@ -0,0 +1,16 @@ +################################################# +# +# (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( fortranhello ) + +install( FILES + fortran.appwizard + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE/FortranIDE ) diff --git a/languages/fortran/app_templates/fortranhello/CMakeLists.txt b/languages/fortran/app_templates/fortranhello/CMakeLists.txt new file mode 100644 index 00000000..f0b40cf6 --- /dev/null +++ b/languages/fortran/app_templates/fortranhello/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( fortranhello.tar.gz ALL + COMMAND tar zcf fortranhello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + main.f src-Makefile.am fortran-Makefile.am + fortran-Makefile.cvs configure.in fortranhello.png + app.kdevelop +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/fortranhello.tar.gz fortranhello.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + fortranhello.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/fortran/compiler/CMakeLists.txt b/languages/fortran/compiler/CMakeLists.txt new file mode 100644 index 00000000..109fe1b6 --- /dev/null +++ b/languages/fortran/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( pgioptions ) diff --git a/languages/fortran/compiler/pgioptions/CMakeLists.txt b/languages/fortran/compiler/pgioptions/CMakeLists.txt new file mode 100644 index 00000000..9c2e7f5f --- /dev/null +++ b/languages/fortran/compiler/pgioptions/CMakeLists.txt @@ -0,0 +1,39 @@ +################################################# +# +# (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 + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES + kdevpghpfoptions.desktop kdevpgf77options.desktop + DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libkdevpgioptions (module) ################ + +tde_add_kpart( libkdevpgioptions AUTOMOC + SOURCES + pgioptionsfactory.cpp pgioptionsplugin.cpp + LINK kdevextras-shared kdeui-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/languages/fortran/doc/CMakeLists.txt b/languages/fortran/doc/CMakeLists.txt new file mode 100644 index 00000000..50e2ab71 --- /dev/null +++ b/languages/fortran/doc/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 + fortran_bugs_gcc.toc + DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation/tocs ) diff --git a/languages/fortran/file_templates/CMakeLists.txt b/languages/fortran/file_templates/CMakeLists.txt new file mode 100644 index 00000000..3b5ef22e --- /dev/null +++ b/languages/fortran/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 + f f77 f90 f95 for fpp ftn + DESTINATION ${DATA_INSTALL_DIR}/kdevfilecreate/file-templates ) diff --git a/languages/java/CMakeLists.txt b/languages/java/CMakeLists.txt new file mode 100644 index 00000000..dd5a8474 --- /dev/null +++ b/languages/java/CMakeLists.txt @@ -0,0 +1,54 @@ +################################################# +# +# (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( file_templates ) +add_subdirectory( app_templates ) +add_subdirectory( doc ) + +# FIXME KDE_CXXFLAGS = $(USE_EXCEPTIONS) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/interfaces/external + ${CMAKE_SOURCE_DIR}/lib/util + ${CMAKE_SOURCE_DIR}/lib/antlr + ${CMAKE_SOURCE_DIR}/lib/catalog + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevjavasupport.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevjavasupport.rc DESTINATION ${DATA_INSTALL_DIR}/kdevjavasupport ) + + +##### libkdevjavasupport (module) ############### + +tde_add_kpart( libkdevjavasupport AUTOMOC + SOURCES + JavaLexer.cpp KDevJavaSupportIface.cpp + javasupportfactory.cpp JavaRecognizer.cpp + backgroundparser.cpp configproblemreporter.ui + javasupportpart.cpp JavaStoreWalker.cpp + javasupport_utils.cpp problemreporter.cpp driver.cpp + kdevdriver.cpp KDevJavaSupportIface.skel + LINK antlr-static kdevcatalog-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/languages/java/app_templates/CMakeLists.txt b/languages/java/app_templates/CMakeLists.txt new file mode 100644 index 00000000..707b676d --- /dev/null +++ b/languages/java/app_templates/CMakeLists.txt @@ -0,0 +1,18 @@ +################################################# +# +# (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( javahello ) +add_subdirectory( kappjava ) +add_subdirectory( superwaba ) + +install( FILES + java.appwizard + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE/JavaIDE ) diff --git a/languages/java/app_templates/javahello/CMakeLists.txt b/languages/java/app_templates/javahello/CMakeLists.txt new file mode 100644 index 00000000..bbfc746f --- /dev/null +++ b/languages/java/app_templates/javahello/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( javahello.tar.gz ALL + COMMAND tar zcf javahello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + Main.java build.xml javahello.filelist javahello.kdevelop +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/javahello.tar.gz javahello.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + javahello.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/java/app_templates/kappjava/CMakeLists.txt b/languages/java/app_templates/kappjava/CMakeLists.txt new file mode 100644 index 00000000..3b4abe1e --- /dev/null +++ b/languages/java/app_templates/kappjava/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( kappjava.tar.gz ALL + COMMAND tar zcf kappjava.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + app.java pref.java appview.java app_client.java appui.rc + src-Makefile.am kappjava.png app.kdevelop subdirs +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/kappjava.tar.gz kappjava.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + kappjava.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/java/app_templates/superwaba/CMakeLists.txt b/languages/java/app_templates/superwaba/CMakeLists.txt new file mode 100644 index 00000000..160b1a14 --- /dev/null +++ b/languages/java/app_templates/superwaba/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( superwaba.tar.gz ALL + COMMAND tar zcf superwaba.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + superwaba.png sw.java src-Makefile sw.kdevelop sw.filelist +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/superwaba.tar.gz superwaba.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + superwaba.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/java/doc/CMakeLists.txt b/languages/java/doc/CMakeLists.txt new file mode 100644 index 00000000..685a980d --- /dev/null +++ b/languages/java/doc/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 + sw.toc java_bugs_gcc.toc java_bugs_sun.toc + DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation/tocs ) diff --git a/languages/java/file_templates/CMakeLists.txt b/languages/java/file_templates/CMakeLists.txt new file mode 100644 index 00000000..848555dd --- /dev/null +++ b/languages/java/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 + java + DESTINATION ${DATA_INSTALL_DIR}/kdevfilecreate/file-templates ) diff --git a/languages/lib/CMakeLists.txt b/languages/lib/CMakeLists.txt new file mode 100644 index 00000000..ceebbdc0 --- /dev/null +++ b/languages/lib/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 +# +################################################# + +add_subdirectory( interfaces ) +add_subdirectory( debugger ) +add_subdirectory( designer_integration ) diff --git a/languages/lib/debugger/CMakeLists.txt b/languages/lib/debugger/CMakeLists.txt new file mode 100644 index 00000000..5e4e118f --- /dev/null +++ b/languages/lib/debugger/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}/lib/interfaces + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES + debugger.h kdevdebugger.h + DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/languages/debugger ) + + +##### lang_debugger (shared) #################### + +tde_add_library( lang_debugger SHARED AUTOMOC + SOURCES kdevdebugger.cpp debugger.cpp + VERSION 0.0.0 + LINK ktexteditor-shared + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/languages/lib/designer_integration/CMakeLists.txt b/languages/lib/designer_integration/CMakeLists.txt new file mode 100644 index 00000000..ca493996 --- /dev/null +++ b/languages/lib/designer_integration/CMakeLists.txt @@ -0,0 +1,44 @@ +################################################# +# +# (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/extensions + ${CMAKE_SOURCE_DIR}/lib/interfaces/external + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES + qtdesignerintegration.h implementationwidget.h + ${CMAKE_CURRENT_BINARY_DIR}/implementationwidgetbase.h + DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/languages/designer_integration ) + + +##### designerintegration (shared) ############## + +tde_add_library( designerintegration SHARED AUTOMOC + SOURCES + implementationwidgetbase.ui implementationwidget.cpp + qtdesignerintegration.cpp + VERSION 0.0.0 + LINK kdevelop-shared + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/languages/lib/interfaces/CMakeLists.txt b/languages/lib/interfaces/CMakeLists.txt new file mode 100644 index 00000000..dc4eea21 --- /dev/null +++ b/languages/lib/interfaces/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} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES kdevpcsimporter.h DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/languages/interfaces ) + + +##### other data ################################ + +install( FILES kdeveloppcsimporter.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} ) + + +##### lang_interfaces (shared) ################## + +tde_add_library( lang_interfaces SHARED AUTOMOC + SOURCES kdevpcsimporter.cpp + VERSION 0.0.0 + LINK ${TQT_LIBRARIES} + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/languages/pascal/CMakeLists.txt b/languages/pascal/CMakeLists.txt new file mode 100644 index 00000000..19ecf137 --- /dev/null +++ b/languages/pascal/CMakeLists.txt @@ -0,0 +1,51 @@ +################################################# +# +# (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( file_templates ) +add_subdirectory( app_templates ) +add_subdirectory( compiler ) +add_subdirectory( doc ) + +# FIXME KDE_CXXFLAGS = $(USE_EXCEPTIONS) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/external + ${CMAKE_SOURCE_DIR}/lib/util + ${CMAKE_SOURCE_DIR}/lib/antlr + ${CMAKE_SOURCE_DIR}/lib/catalog + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevpascalsupport.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevpascalsupport.rc DESTINATION ${DATA_INSTALL_DIR}/kdevpascalsupport ) +install( FILES pascaltemplates DESTINATION ${DATA_INSTALL_DIR}/kdevabbrev/templates ) + + +##### libkdevpascalsupport (module) ############# + +tde_add_kpart( libkdevpascalsupport AUTOMOC + SOURCES + pascalsupport_part.cpp PascalLexer.cpp PascalParser.cpp + PascalStoreWalker.cpp backgroundparser.cpp + configproblemreporter.ui problemreporter.cpp + LINK antlr-static kdevcatalog-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/languages/pascal/app_templates/CMakeLists.txt b/languages/pascal/app_templates/CMakeLists.txt new file mode 100644 index 00000000..d493e7a1 --- /dev/null +++ b/languages/pascal/app_templates/CMakeLists.txt @@ -0,0 +1,19 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( pascalhello ) +add_subdirectory( fpcgtk ) +add_subdirectory( fpchello ) +add_subdirectory( fpcsharedlib ) + +install( FILES + pascal.appwizard + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE/PascalIDE ) diff --git a/languages/pascal/app_templates/fpcgtk/CMakeLists.txt b/languages/pascal/app_templates/fpcgtk/CMakeLists.txt new file mode 100644 index 00000000..8a154204 --- /dev/null +++ b/languages/pascal/app_templates/fpcgtk/CMakeLists.txt @@ -0,0 +1,25 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_custom_target( fpcgtk.tar.gz ALL + COMMAND tar zcf fpcgtk.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + main.pp app.kdevelop +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/fpcgtk.tar.gz fpcgtk.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + fpcgtk.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/pascal/app_templates/fpchello/CMakeLists.txt b/languages/pascal/app_templates/fpchello/CMakeLists.txt new file mode 100644 index 00000000..f51b2517 --- /dev/null +++ b/languages/pascal/app_templates/fpchello/CMakeLists.txt @@ -0,0 +1,25 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_custom_target( fpchello.tar.gz ALL + COMMAND tar zcf fpchello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + main.pp app.kdevelop +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/fpchello.tar.gz fpchello.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + fpchello.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/pascal/app_templates/fpcsharedlib/CMakeLists.txt b/languages/pascal/app_templates/fpcsharedlib/CMakeLists.txt new file mode 100644 index 00000000..de4923f3 --- /dev/null +++ b/languages/pascal/app_templates/fpcsharedlib/CMakeLists.txt @@ -0,0 +1,25 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_custom_target( fpcsharedlib.tar.gz ALL + COMMAND tar zcf fpcsharedlib.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + main.pp app.kdevelop +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/fpcsharedlib.tar.gz fpcsharedlib.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + fpcsharedlib.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/pascal/app_templates/pascalhello/CMakeLists.txt b/languages/pascal/app_templates/pascalhello/CMakeLists.txt new file mode 100644 index 00000000..0c130705 --- /dev/null +++ b/languages/pascal/app_templates/pascalhello/CMakeLists.txt @@ -0,0 +1,25 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_custom_target( pascalhello.tar.gz ALL + COMMAND tar zcf pascalhello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + main.pp app.kdevelop +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/pascalhello.tar.gz pascalhello.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + pascalhello.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/pascal/compiler/CMakeLists.txt b/languages/pascal/compiler/CMakeLists.txt new file mode 100644 index 00000000..56f84b6d --- /dev/null +++ b/languages/pascal/compiler/CMakeLists.txt @@ -0,0 +1,13 @@ +################################################# +# +# (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( dccoptions ) +add_subdirectory( fpcoptions ) diff --git a/languages/pascal/compiler/dccoptions/CMakeLists.txt b/languages/pascal/compiler/dccoptions/CMakeLists.txt new file mode 100644 index 00000000..ae6c6388 --- /dev/null +++ b/languages/pascal/compiler/dccoptions/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}/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 kdevdccoptions.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libkdevdccoptions (module) ################ + +tde_add_kpart( libkdevdccoptions AUTOMOC + SOURCES dccoptionsplugin.cpp optiontabs.cpp + LINK kdevwidgets-shared kdevextras-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/languages/pascal/compiler/fpcoptions/CMakeLists.txt b/languages/pascal/compiler/fpcoptions/CMakeLists.txt new file mode 100644 index 00000000..12c9ef89 --- /dev/null +++ b/languages/pascal/compiler/fpcoptions/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}/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 kdevfpcoptions.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libkdevfpcoptions (module) ################ + +tde_add_kpart( libkdevfpcoptions AUTOMOC + SOURCES fpcoptionsplugin.cpp optiontabs.cpp + LINK kdevwidgets-shared kdevextras-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/languages/pascal/doc/CMakeLists.txt b/languages/pascal/doc/CMakeLists.txt new file mode 100644 index 00000000..ade55abb --- /dev/null +++ b/languages/pascal/doc/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 + pascal_bugs_fp.toc + DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation/tocs ) diff --git a/languages/pascal/file_templates/CMakeLists.txt b/languages/pascal/file_templates/CMakeLists.txt new file mode 100644 index 00000000..812d0398 --- /dev/null +++ b/languages/pascal/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 + dpr pas-program pas-unit pp-program pp-unit + DESTINATION ${DATA_INSTALL_DIR}/kdevfilecreate/file-templates ) diff --git a/languages/perl/CMakeLists.txt b/languages/perl/CMakeLists.txt new file mode 100644 index 00000000..6a1f8945 --- /dev/null +++ b/languages/perl/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( app_templates ) +add_subdirectory( file_templates ) +add_subdirectory( doc ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/interfaces/external + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevperlsupport.desktop perldoc.protocol DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevperlsupport.rc DESTINATION ${DATA_INSTALL_DIR}/kdevperlsupport ) + + +##### libkdevperlsupport (module) ############### + +tde_add_kpart( libkdevperlsupport AUTOMOC + SOURCES + perlparser.cpp perlsupportpart.cpp + perlconfigwidget.cpp perlconfigwidgetbase.ui + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### kio_perldoc (module) ###################### + +tde_add_kpart( kio_perldoc + SOURCES + perldoc.cpp + LINK kio-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/languages/perl/app_templates/CMakeLists.txt b/languages/perl/app_templates/CMakeLists.txt new file mode 100644 index 00000000..427b980f --- /dev/null +++ b/languages/perl/app_templates/CMakeLists.txt @@ -0,0 +1,16 @@ +################################################# +# +# (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( perlhello ) + +install( FILES + perl.appwizard + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/ScriptingLanguageIDE/PerlIDE ) diff --git a/languages/perl/app_templates/perlhello/CMakeLists.txt b/languages/perl/app_templates/perlhello/CMakeLists.txt new file mode 100644 index 00000000..820fda1e --- /dev/null +++ b/languages/perl/app_templates/perlhello/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( perlhello.tar.gz ALL + COMMAND tar zcf perlhello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + app.pl app.kdevelop +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/perlhello.tar.gz perlhello.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + perlhello.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/perl/doc/CMakeLists.txt b/languages/perl/doc/CMakeLists.txt new file mode 100644 index 00000000..653dc0d7 --- /dev/null +++ b/languages/perl/doc/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 + perl.toc perl_bugs.toc + DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation/tocs ) diff --git a/languages/perl/file_templates/CMakeLists.txt b/languages/perl/file_templates/CMakeLists.txt new file mode 100644 index 00000000..7faec8fc --- /dev/null +++ b/languages/perl/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 + pl pm + DESTINATION ${DATA_INSTALL_DIR}/kdevfilecreate/file-templates ) diff --git a/languages/php/CMakeLists.txt b/languages/php/CMakeLists.txt new file mode 100644 index 00000000..27003401 --- /dev/null +++ b/languages/php/CMakeLists.txt @@ -0,0 +1,51 @@ +################################################# +# +# (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( data ) +add_subdirectory( app_templates ) +add_subdirectory( file_templates ) +add_subdirectory( doc ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/interfaces/external + ${CMAKE_SOURCE_DIR}/lib/util + ${CMAKE_SOURCE_DIR}/lib/widgets + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevphpsupport.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevphpsupport.rc DESTINATION ${DATA_INSTALL_DIR}/kdevphpsupport ) +install( FILES phptemplates DESTINATION ${DATA_INSTALL_DIR}/kdevabbrev/templates ) + + +##### libkdevphpsupport (module) ################ + +tde_add_kpart( libkdevphpsupport AUTOMOC + SOURCES + phpsupportpart.cpp phpconfigwidgetbase.ui + phpconfigwidget.cpp phpinfodlg.ui phphtmlview.cpp + phperrorview.cpp phpconfigdata.cpp phpcodecompletion.cpp + phpparser.cpp phpnewclassdlgbase.ui phpnewclassdlg.cpp + phpfile.cpp + LINK kdevwidgets-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/languages/php/app_templates/CMakeLists.txt b/languages/php/app_templates/CMakeLists.txt new file mode 100644 index 00000000..2d9a1d86 --- /dev/null +++ b/languages/php/app_templates/CMakeLists.txt @@ -0,0 +1,16 @@ +################################################# +# +# (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( phphello ) + +install( FILES + php.appwizard + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/ScriptingLanguageIDE/PHPIDE ) diff --git a/languages/php/app_templates/phphello/CMakeLists.txt b/languages/php/app_templates/phphello/CMakeLists.txt new file mode 100644 index 00000000..ae644c70 --- /dev/null +++ b/languages/php/app_templates/phphello/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( phphello.tar.gz ALL + COMMAND tar zcf phphello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + app.php app.kdevelop +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/phphello.tar.gz phphello.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + phphello.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/php/data/CMakeLists.txt b/languages/php/data/CMakeLists.txt new file mode 100644 index 00000000..f89943bc --- /dev/null +++ b/languages/php/data/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 + phpfunctions + DESTINATION ${DATA_INSTALL_DIR}/kdevphpsupport ) diff --git a/languages/php/doc/CMakeLists.txt b/languages/php/doc/CMakeLists.txt new file mode 100644 index 00000000..59ea2199 --- /dev/null +++ b/languages/php/doc/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 + php.toc php_bugs.toc + DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation/tocs ) diff --git a/languages/php/file_templates/CMakeLists.txt b/languages/php/file_templates/CMakeLists.txt new file mode 100644 index 00000000..5de3a576 --- /dev/null +++ b/languages/php/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 + php + DESTINATION ${DATA_INSTALL_DIR}/kdevfilecreate/file-templates ) diff --git a/languages/python/CMakeLists.txt b/languages/python/CMakeLists.txt new file mode 100644 index 00000000..f2e63076 --- /dev/null +++ b/languages/python/CMakeLists.txt @@ -0,0 +1,58 @@ +################################################# +# +# (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( app_templates ) +add_subdirectory( file_templates ) +add_subdirectory( doc ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR}/languages/lib/designer_integration + ${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/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevpythonsupport.desktop pydoc.protocol DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kde_pydoc.py DESTINATION ${DATA_INSTALL_DIR}/kio_pydoc ) +install( FILES kdevpythonsupport.rc DESTINATION ${DATA_INSTALL_DIR}/kdevpythonsupport ) + + +##### libkdevpythonsupport (module) ############# + +tde_add_kpart( libkdevpythonsupport AUTOMOC + SOURCES + pythonsupportpart.cpp pythonconfigwidget.cpp + pythonconfigwidgetbase.ui pythonimplementationwidget.cpp + qtdesignerpythonintegration.cpp + LINK designerintegration-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### kio_pydoc (module) ######################## + +tde_add_kpart( kio_pydoc + SOURCES pydoc.cpp + LINK kio-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/languages/python/app_templates/CMakeLists.txt b/languages/python/app_templates/CMakeLists.txt new file mode 100644 index 00000000..26cceb47 --- /dev/null +++ b/languages/python/app_templates/CMakeLists.txt @@ -0,0 +1,18 @@ +################################################# +# +# (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( pythonhello ) +add_subdirectory( pytk ) +add_subdirectory( pyqt ) + +install( FILES + python.appwizard + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/ScriptingLanguageIDE/PythonIDE ) diff --git a/languages/python/app_templates/pyqt/CMakeLists.txt b/languages/python/app_templates/pyqt/CMakeLists.txt new file mode 100644 index 00000000..131e2165 --- /dev/null +++ b/languages/python/app_templates/pyqt/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( pyqt.tar.gz ALL + COMMAND tar zcf pyqt.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + app.py app.kdevelop fileopen.pyxpm fileprint.pyxpm + filesave.pyxpm app-Makefile.am app-autogen.sh + app-configure.ac documentdetails.ui missing install-sh + mkinstalldirs pyqt-am-preproc.py templates-ui-dialog + templates-ui-mainwin pyqt.png +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/pyqt.tar.gz pyqt.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + pyqt.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/python/app_templates/pythonhello/CMakeLists.txt b/languages/python/app_templates/pythonhello/CMakeLists.txt new file mode 100644 index 00000000..84dfc7b0 --- /dev/null +++ b/languages/python/app_templates/pythonhello/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( pythonhello.tar.gz ALL + COMMAND tar zcf pythonhello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + app.py app.kdevelop pythonhello.png +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/pythonhello.tar.gz pythonhello.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + pythonhello.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/python/app_templates/pytk/CMakeLists.txt b/languages/python/app_templates/pytk/CMakeLists.txt new file mode 100644 index 00000000..ad5572b7 --- /dev/null +++ b/languages/python/app_templates/pytk/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( pytk.tar.gz ALL + COMMAND tar zcf pytk.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + app.py app.kdevelop pytk.png +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/pytk.tar.gz pytk.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + pytk.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/python/doc/CMakeLists.txt b/languages/python/doc/CMakeLists.txt new file mode 100644 index 00000000..a3caa5fd --- /dev/null +++ b/languages/python/doc/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 + python.toc python_bugs.toc + DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation/tocs ) diff --git a/languages/python/file_templates/CMakeLists.txt b/languages/python/file_templates/CMakeLists.txt new file mode 100644 index 00000000..ddc20b95 --- /dev/null +++ b/languages/python/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 + py + DESTINATION ${DATA_INSTALL_DIR}/kdevfilecreate/file-templates ) diff --git a/languages/ruby/CMakeLists.txt b/languages/ruby/CMakeLists.txt new file mode 100644 index 00000000..2f1a231e --- /dev/null +++ b/languages/ruby/CMakeLists.txt @@ -0,0 +1,51 @@ +################################################# +# +# (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( app_templates ) +add_subdirectory( file_templates ) +add_subdirectory( doc ) +add_subdirectory( debugger ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR}/languages/lib/designer_integration + ${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/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevrubysupport.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES rubytemplates DESTINATION ${DATA_INSTALL_DIR}/kdevabbrev/templates ) +install( FILES kdevrubysupport.rc DESTINATION ${DATA_INSTALL_DIR}/kdevrubysupport ) +install( FILES ruby_config.png ruby_run.png DESTINATION ${DATA_INSTALL_DIR}/kdevrubysupport/pics ) + + +##### libkdevrubysupport (module) ############### + +tde_add_kpart( libkdevrubysupport AUTOMOC + SOURCES + rubysupport_part.cpp rubyconfigwidgetbase.ui + rubyconfigwidget.cpp qtdesignerrubyintegration.cpp + rubyimplementationwidget.cpp + LINK designerintegration-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) 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 ) diff --git a/languages/ruby/debugger/CMakeLists.txt b/languages/ruby/debugger/CMakeLists.txt new file mode 100644 index 00000000..36655f65 --- /dev/null +++ b/languages/ruby/debugger/CMakeLists.txt @@ -0,0 +1,48 @@ +################################################# +# +# (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_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 kdevrbdebugger.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES debuggee.rb DESTINATION ${DATA_INSTALL_DIR}/kdevrbdebugger ) +install( FILES kdevrbdebugger.rc DESTINATION ${DATA_INSTALL_DIR}/kdevrbdebugger ) + + +##### libkdevrbdebugger (module) ################ + +tde_add_kpart( libkdevrbdebugger AUTOMOC + SOURCES + debuggerpart.cpp dbgcontroller.cpp rdbcontroller.cpp + dbgcommand.cpp rdbcommand.cpp rdbparser.cpp stty.cpp + breakpoint.cpp variablewidget.cpp rdbbreakpointwidget.cpp + framestackwidget.cpp dbgpsdlg.cpp dbgtoolbar.cpp + rdboutputwidget.cpp rdbtable.cpp + LINK lang_debugger-shared kdevwidgets-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/languages/ruby/doc/CMakeLists.txt b/languages/ruby/doc/CMakeLists.txt new file mode 100644 index 00000000..781fa2ba --- /dev/null +++ b/languages/ruby/doc/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 + ruby.toc ruby_bugs.toc qtruby.toc rails.toc + DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation/tocs ) diff --git a/languages/ruby/file_templates/CMakeLists.txt b/languages/ruby/file_templates/CMakeLists.txt new file mode 100644 index 00000000..617e829c --- /dev/null +++ b/languages/ruby/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 + rb rhtml rxml rjs js css html.erb xml.builder js.rjs + DESTINATION ${DATA_INSTALL_DIR}/kdevfilecreate/file-templates ) diff --git a/languages/sql/CMakeLists.txt b/languages/sql/CMakeLists.txt new file mode 100644 index 00000000..eb5935be --- /dev/null +++ b/languages/sql/CMakeLists.txt @@ -0,0 +1,44 @@ +################################################# +# +# (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( app_templates ) +add_subdirectory( doc ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/interfaces/external + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevsqlsupport.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevsqlsupport.rc DESTINATION ${DATA_INSTALL_DIR}/kdevsqlsupport ) + + +##### libkdevsqlsupport (module) ################ + +tde_add_kpart( libkdevsqlsupport AUTOMOC + SOURCES + sqlconfigwidget.ui sqlsupport_part.cpp sqlactions.cpp + sqloutputwidget.cpp + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/languages/sql/app_templates/CMakeLists.txt b/languages/sql/app_templates/CMakeLists.txt new file mode 100644 index 00000000..508308ce --- /dev/null +++ b/languages/sql/app_templates/CMakeLists.txt @@ -0,0 +1,16 @@ +################################################# +# +# (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( sqlsimple ) + +install( FILES + sql.appwizard + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/DatabaseIDE ) diff --git a/languages/sql/app_templates/sqlsimple/CMakeLists.txt b/languages/sql/app_templates/sqlsimple/CMakeLists.txt new file mode 100644 index 00000000..3df373a6 --- /dev/null +++ b/languages/sql/app_templates/sqlsimple/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( sqlsimple.tar.gz ALL + COMMAND tar zcf sqlsimple.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + app.sql app.kdevelop +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/sqlsimple.tar.gz sqlsimple.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + sqlsimple.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/sql/doc/CMakeLists.txt b/languages/sql/doc/CMakeLists.txt new file mode 100644 index 00000000..96e1e621 --- /dev/null +++ b/languages/sql/doc/CMakeLists.txt @@ -0,0 +1,10 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# |