diff options
282 files changed, 8678 insertions, 67 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 00000000..42261ac7 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,171 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +cmake_minimum_required( VERSION 2.6 ) + + +##### general package setup ##################### + +project( kdevelop ) +set( VERSION "3.5.4") + + +##### include essential cmake modules ########### + +include( CheckCSourceCompiles ) +include( CheckCXXSourceCompiles ) +include( CheckFunctionExists ) +include( CheckIncludeFile ) +include( CheckIncludeFileCXX ) +include( CheckLibraryExists ) +include( FindPkgConfig ) + + +##### include our cmake modules ################# + +set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" ) +include( TDEMacros ) + + +##### setup install paths ####################### + +include( TDESetupPaths ) +tde_setup_paths( ) + + +##### build tools ############################### + +option( WITH_BUILDTOOL_ALL "Enable all build tools" OFF ) +option( WITH_BUILDTOOL_ADA "Enable ada build tool" ${WITH_BUILDTOOL_ALL} ) +option( WITH_BUILDTOOL_ANT "Enable ant build tool" ${WITH_BUILDTOOL_ALL} ) +option( WITH_BUILDTOOL_AUTOTOOLS "Enable autotools build tool" ${WITH_BUILDTOOL_ALL} ) +option( WITH_BUILDTOOL_CUSTOMMAKEFILES "Enable custommakefiles build tool" ${WITH_BUILDTOOL_ALL} ) +option( WITH_BUILDTOOL_PASCAL "Enable pascal build tool" ${WITH_BUILDTOOL_ALL} ) +option( WITH_BUILDTOOL_QMAKE "Enable qmake build tool" ${WITH_BUILDTOOL_ALL} ) +option( WITH_BUILDTOOL_SCRIPT "Enable script build tool" ${WITH_BUILDTOOL_ALL} ) + + +##### languages ################################# + +option( WITH_LANGUAGE_ALL "Enable all languages" OFF ) +option( WITH_LANGUAGE_ADA "Enable ada language" ${WITH_LANGUAGE_ALL} ) +option( WITH_LANGUAGE_BASH "Enable bash language" ${WITH_LANGUAGE_ALL} ) +option( WITH_LANGUAGE_CPP "Enable cpp language" ${WITH_LANGUAGE_ALL} ) +option( WITH_LANGUAGE_FORTRAN "Enable fortran language" ${WITH_LANGUAGE_ALL} ) +option( WITH_LANGUAGE_JAVA "Enable java language" ${WITH_LANGUAGE_ALL} ) +option( WITH_LANGUAGE_CSHARP "Enable csharp language" ${WITH_LANGUAGE_ALL} ) +option( WITH_LANGUAGE_PASCAL "Enable pascal language" ${WITH_LANGUAGE_ALL} ) +option( WITH_LANGUAGE_PERL "Enable perl language" ${WITH_LANGUAGE_ALL} ) +option( WITH_LANGUAGE_PHP "Enable php language" ${WITH_LANGUAGE_ALL} ) +option( WITH_LANGUAGE_PYTHON "Enable python language" ${WITH_LANGUAGE_ALL} ) +option( WITH_LANGUAGE_RUBY "Enable ruby language" ${WITH_LANGUAGE_ALL} ) +option( WITH_LANGUAGE_SQL "Enable sql language" ${WITH_LANGUAGE_ALL} ) + + +##### version control systems ################### + +option( WITH_VCS_ALL "Enable all version control systems" OFF ) +option( WITH_VCS_CLEARCASE "Enable clearcase support" ${WITH_VCS_ALL} ) +option( WITH_VCS_CVSSERVICE "Enable cvsservice support" ${WITH_VCS_ALL} ) +option( WITH_VCS_PERFORCE "Enable perforce support" ${WITH_VCS_ALL} ) +option( WITH_VCS_SUBVERSION "Enable subversion support" ${WITH_VCS_ALL} ) + + +##### components ################################ + +option( BUILD_ALL "Build all components" OFF ) +option( BUILD_KDEVDESIGNER "Build kdevdesigner" ${BUILD_ALL} ) + + +##### optional stuff ############################ + +option( WITH_DEPRECATION "Enable deprecation warnings" OFF ) + + +##### configure checks ########################## + +include( ConfigureChecks.cmake ) + + +##### various definitions ####################### + +if( NOT DEFINED QT_DOCDIR ) + find_path( QT_DOCDIR index.html + ${QTDIR}/doc/html + $ENV{QTDIR}/doc/html ) + if( NOT QT_DOCDIR ) + set( QT_DOCDIR "QT_DOCDIR is not set" ) + endif( ) +endif( ) + +if( NOT DEFINED KDELIBS_DOXYDIR ) + set( KDELIBS_DOXYDIR "${TDE_HTML_DIR}/en/kdelibs-apidocs" ) +endif( ) + +if( NOT DEFINED MAKE_COMMAND ) + set( MAKE_COMMAND "gmake" ) +endif( ) + + +###### global compiler settings ################# + +add_definitions( + -DHAVE_CONFIG_H + ${TQT_CFLAGS_OTHER} +) + +if( NOT WITH_DEPRECATION ) + set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated" ) +endif( ) + +set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -include tqt.h" ) +set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" ) +set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" ) + + +##### install data ############################## + +install( FILES + kdevelop.desktop kdevassistant.desktop kdevelop_ruby.desktop + kdevelop_c_cpp.desktop kdevelop_kde_cpp.desktop + kdevelop_scripting.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} ) + +install( FILES + kde-development-kdevelop.directory + DESTINATION ${XDG_DIRECTORY_INSTALL_DIR} ) + +install( FILES + x-kdevelop.desktop + DESTINATION ${MIME_INSTALL_DIR}/application ) + +install( PROGRAMS + kdevprj2kdevelop + DESTINATION ${BIN_INSTALL_DIR} ) + + +##### source directories ######################## + +add_subdirectory( lib ) +add_subdirectory( src ) +add_subdirectory( parts ) +add_subdirectory( buildtools ) +add_subdirectory( editors ) +add_subdirectory( languages ) +add_subdirectory( mimetypes ) +add_subdirectory( pics ) +add_subdirectory( vcs ) +tde_conditional_add_subdirectory( BUILD_KDEVDESIGNER kdevdesigner ) + + +##### write configure files ##################### + +configure_file( config.h.cmake config.h @ONLY ) diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index c708db86..29125f87 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -1,27 +1,57 @@ -INCLUDE(CheckIncludeFiles) +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# -#check for libz using the cmake supplied FindZLIB.cmake -INCLUDE(FindZLIB) +check_include_file( "sys/stropts.h" HAVE_SYS_STROPTS_H ) +check_function_exists( "mkfifo" HAVE_MKFIFO ) -IF(ZLIB_FOUND) - SET(HAVE_LIBZ 1) -ELSE(ZLIB_FOUND) - SET(HAVE_LIBZ 0) -ENDIF(ZLIB_FOUND) -#check for png -INCLUDE(FindPNG) -IF(PNG_FOUND) - SET(HAVE_LIBPNG 1) -ELSE(PNG_FOUND) - SET(HAVE_LIBPNG 0) -ENDIF(PNG_FOUND) +# check for berkeley db +# we need at least bdb 4.1, but I do not check for version +# because this is really old and trinity will not +# working anyway on such old systems +check_c_source_compiles(" + #include <db.h> + void main() { DB *db; db->open(db, 0, 0, NULL, DB_BTREE, DB_CREATE, 0644); } " + HAVE_BERKELEY_DB ) -#now check for dlfcn.h using the cmake supplied CHECK_INCLUDE_FILE() macro +if( HAVE_BERKELEY_DB ) + set( BDB_LIBRARY db ) +else( ) + tde_message_fatal( "berkeley db are required, but not found on your system" ) +endif( ) -CHECK_INCLUDE_FILES(dlfcn.h HAVE_DLFCN_H) -SET(CONFIG_QT_DOCDIR "\"/usr/lib/qt/doc/html/\"") -SET(CONFIG_KDELIBS_DOXYDIR "\"/tmp/\"") +# check for subversion +if( WITH_VCS_SUBVERSION ) + pkg_search_module( APR apr-1 ) + if( NOT APR_FOUND ) + tde_message_fatal( "apr-1 are requested, but not found on your system" ) + endif( ) -CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/config.h.cmake ${CMAKE_SOURCE_DIR}/config.h) + tde_save( CMAKE_REQUIRED_INCLUDES ) + set( CMAKE_REQUIRED_INCLUDES ${APR_INCLUDE_DIRS} ) + check_include_file_cxx( "subversion-1/svn_types.h" HAVE_SUBVERSION_1_SVN_TYPES_H ) + tde_restore( CMAKE_REQUIRED_INCLUDES ) + + check_library_exists( svn_client-1 svn_client_version "" HAVE_SVN_CLIENT_1 ) + + if( NOT (HAVE_SUBVERSION_1_SVN_TYPES_H AND HAVE_SVN_CLIENT_1) ) + tde_message_fatal( "svn_client-1 are requested, but not found on your system" ) + endif( ) + + set( SVN_LIBRARIES svn_client-1 svn_subr-1 svn_ra-1 ) +endif( ) + + +# required stuff +find_package( Qt ) +find_package( TQt ) +find_package( TDE ) diff --git a/buildtools/CMakeLists.txt b/buildtools/CMakeLists.txt new file mode 100644 index 00000000..ee63b786 --- /dev/null +++ b/buildtools/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( lib ) +tde_conditional_add_subdirectory( WITH_BUILDTOOL_ADA ada ) +tde_conditional_add_subdirectory( WITH_BUILDTOOL_ANT ant ) +tde_conditional_add_subdirectory( WITH_BUILDTOOL_AUTOTOOLS autotools ) +tde_conditional_add_subdirectory( WITH_BUILDTOOL_CUSTOMMAKEFILES custommakefiles ) +tde_conditional_add_subdirectory( WITH_BUILDTOOL_PASCAL pascal ) +tde_conditional_add_subdirectory( WITH_BUILDTOOL_QMAKE qmake ) +tde_conditional_add_subdirectory( WITH_BUILDTOOL_SCRIPT script ) diff --git a/buildtools/ada/CMakeLists.txt b/buildtools/ada/CMakeLists.txt new file mode 100644 index 00000000..8d0fd4ae --- /dev/null +++ b/buildtools/ada/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}/buildtools/lib/base + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/interfaces/external + ${CMAKE_SOURCE_DIR}/lib/interfaces/extras + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevadaproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevadaproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevadaproject ) + + +##### libkdevadaproject (module) ################ + +tde_add_kpart( libkdevadaproject AUTOMOC + SOURCES + adaproject_part.cpp adaproject_widget.cpp + adaproject_optionsdlgbase.ui adaprojectoptionsdlg.cpp + adaglobaloptionsdlg.cpp service.cpp + LINK kdevbuildbase-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/buildtools/ant/CMakeLists.txt b/buildtools/ant/CMakeLists.txt new file mode 100644 index 00000000..1b7cfd98 --- /dev/null +++ b/buildtools/ant/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}/buildtools/lib/base + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevantproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevantproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevantproject ) + + +##### libkdevantproject (module) ################ + +tde_add_kpart( libkdevantproject AUTOMOC + SOURCES + antprojectpart.cpp antoptionswidget.ui classpathwidget.ui + LINK kdevbuildbase-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/buildtools/autotools/CMakeLists.txt b/buildtools/autotools/CMakeLists.txt new file mode 100644 index 00000000..f6212da7 --- /dev/null +++ b/buildtools/autotools/CMakeLists.txt @@ -0,0 +1,65 @@ +################################################# +# +# (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}/buildtools/lib/widgets + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/buildtools/lib/base + ${CMAKE_SOURCE_DIR}/buildtools/lib/widgets + ${CMAKE_SOURCE_DIR}/buildtools/lib/parsers/autotools + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/interfaces/external + ${CMAKE_SOURCE_DIR}/lib/interfaces/extras + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevautoproject.desktop kdevkdeautoproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevautoproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevautoproject ) + + +##### libkdevautoproject (module) ############### + +tde_add_kpart( libkdevautoproject AUTOMOC + SOURCES + autoprojectpart.cpp autoprojectwidget.cpp + configureoptionswidget.cpp configureoptionswidgetbase.ui + subprojectoptionsdlg.cpp subprojectoptionsdlgbase.ui + targetoptionsdlg.cpp targetoptionsdlgbase.ui + addservicedlg.cpp addservicedlgbase.ui + addapplicationdlg.cpp addapplicationdlgbase.ui + addtargetdlg.cpp addtargetdlgbase.ui addsubprojectdlg.cpp + addfiledlgbase.ui addfiledlg.cpp removefiledlgbase.ui + removefiledlg.cpp addicondlgbase.ui addicondlg.cpp + addtranslationdlg.cpp addprefixdlg.cpp + kfilednddetailview.cpp kfiledndiconview.cpp + fileselectorwidget.cpp misc.cpp addsubprojectdlgbase.ui + removetargetdlg.cpp removetargetdlgbase.ui + choosetargetdialog.cpp choosetargetdlgbase.ui + addexistingdlgbase.ui addexistingfilesdlg.cpp + addexistingdirectoriesdlg.cpp kimporticonview.cpp + autosubprojectview.cpp autodetailsview.cpp + autolistviewitems.cpp managecustomcommandsbase.ui + managecustomcommand.cpp autoprojectviewbase.ui + autotoolsaction.cpp makefilehandler.cpp + LINK kdevautotoolsparser-static kdevbuildbase-shared kdevbuildtoolswidgets-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/buildtools/custommakefiles/CMakeLists.txt b/buildtools/custommakefiles/CMakeLists.txt new file mode 100644 index 00000000..55036324 --- /dev/null +++ b/buildtools/custommakefiles/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 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_BINARY_DIR}/buildtools/lib/widgets + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/buildtools/lib/base + ${CMAKE_SOURCE_DIR}/buildtools/lib/widgets + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevcustomproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevcustomproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevcustomproject ) + + +##### libkdevcustomproject (module) ############# + + + +tde_add_kpart( libkdevcustomproject AUTOMOC + SOURCES + selectnewfilesdialog.cpp + selectnewfilesdialogbase.ui custombuildoptionswidget.cpp + custombuildoptionswidgetbase.ui custommakeconfigwidget.cpp + custommakeconfigwidgetbase.ui custommanagerwidget.cpp + custommanagerwidgetbase.ui customotherconfigwidget.cpp + customotherconfigwidgetbase.ui customprojectpart.cpp + LINK kdevbuildbase-shared kdevbuildtoolswidgets-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/buildtools/lib/CMakeLists.txt b/buildtools/lib/CMakeLists.txt new file mode 100644 index 00000000..b23bd2e7 --- /dev/null +++ b/buildtools/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( parsers ) +add_subdirectory( widgets ) +add_subdirectory( base ) diff --git a/buildtools/lib/base/CMakeLists.txt b/buildtools/lib/base/CMakeLists.txt new file mode 100644 index 00000000..1f3e9fbf --- /dev/null +++ b/buildtools/lib/base/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/extensions + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES + kdevbuildtool.h + DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/buildtools/base ) + + +##### kdevbuildbase (shared) #################### + +tde_add_library( kdevbuildbase SHARED AUTOMOC + SOURCES kdevbuildtool.cpp + VERSION 0.0.0 + LINK kdevelop-shared + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/buildtools/lib/parsers/CMakeLists.txt b/buildtools/lib/parsers/CMakeLists.txt new file mode 100644 index 00000000..45157a98 --- /dev/null +++ b/buildtools/lib/parsers/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( qmake ) +add_subdirectory( autotools ) diff --git a/buildtools/lib/parsers/autotools/CMakeLists.txt b/buildtools/lib/parsers/autotools/CMakeLists.txt new file mode 100644 index 00000000..8226e963 --- /dev/null +++ b/buildtools/lib/parsers/autotools/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 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + + +##### kdevautotoolsparser (static) ############## + +tde_add_library( kdevautotoolsparser STATIC_PIC + SOURCES + autotoolsast.cpp autotoolsdriver.cpp autotools_yacc.cpp +) diff --git a/buildtools/lib/parsers/qmake/CMakeLists.txt b/buildtools/lib/parsers/qmake/CMakeLists.txt new file mode 100644 index 00000000..00898d3c --- /dev/null +++ b/buildtools/lib/parsers/qmake/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_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES + qmakeast.h qmakedriver.h qmakeastvisitor.h + DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/buildtools/parsers/qmake ) + + +##### kdevqmakeparser (shared) ################## + +tde_add_library( kdevqmakeparser SHARED + SOURCES + qmake_lex.cpp qmake_yacc.cpp qmakeast.cpp + qmakeastvisitor.cpp qmakedriver.cpp + VERSION 0.0.0 + LINK kio-shared + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/buildtools/lib/widgets/CMakeLists.txt b/buildtools/lib/widgets/CMakeLists.txt new file mode 100644 index 00000000..f892964b --- /dev/null +++ b/buildtools/lib/widgets/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 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES + addenvvardlg.h addfilesdialog.h + environmentvariableswidget.h envvartools.h + makeoptionswidget.h removesubprojectdialog.h + runoptionswidget.h subclassesdlg.h + ${CMAKE_CURRENT_BINARY_DIR}/environmentvariableswidgetbase.h + ${CMAKE_CURRENT_BINARY_DIR}/makeoptionswidgetbase.h + ${CMAKE_CURRENT_BINARY_DIR}/removesubprojectdlgbase.h + ${CMAKE_CURRENT_BINARY_DIR}/runoptionswidgetbase.h + ${CMAKE_CURRENT_BINARY_DIR}/subclassesdlgbase.h + DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/buildtools/widgets ) + + +##### kdevbuildtoolswidgets (shared) ############ + +tde_add_library( kdevbuildtoolswidgets SHARED AUTOMOC + SOURCES + addenvvardlg.cpp addfilesdialog.cpp + environmentdisplaydialog.cpp + environmentdisplaydialogbase.ui + environmentvariableswidget.cpp + environmentvariableswidgetbase.ui envvartools.cpp + makeoptionswidget.cpp makeoptionswidgetbase.ui + removesubprojectdialog.cpp removesubprojectdlgbase.ui + runoptionswidget.cpp runoptionswidgetbase.ui + subclassesdlg.cpp subclassesdlgbase.ui + VERSION 0.0.0 + LINK kdevelop-shared + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/buildtools/pascal/CMakeLists.txt b/buildtools/pascal/CMakeLists.txt new file mode 100644 index 00000000..b10a6bec --- /dev/null +++ b/buildtools/pascal/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 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR}/buildtools/lib/widgets + ${CMAKE_SOURCE_DIR}/buildtools/lib/base + ${CMAKE_SOURCE_DIR}/buildtools/lib/widgets/ + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/interfaces/external + ${CMAKE_SOURCE_DIR}/lib/interfaces/extras + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevpascalproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevpascalproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevpascalproject ) + + +##### libkdevpascalproject (module) ############# + +tde_add_kpart( libkdevpascalproject AUTOMOC + SOURCES + pascalproject_part.cpp pascalproject_widget.cpp + pascalproject_optionsdlgbase.ui pascalprojectoptionsdlg.cpp + pascalglobaloptionsdlg.cpp service.cpp + LINK kdevbuildbase-shared kdevbuildtoolswidgets-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/buildtools/qmake/CMakeLists.txt b/buildtools/qmake/CMakeLists.txt new file mode 100644 index 00000000..fa281096 --- /dev/null +++ b/buildtools/qmake/CMakeLists.txt @@ -0,0 +1,53 @@ +################################################# +# +# (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}/buildtools/lib/widgets + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/buildtools/lib/base + ${CMAKE_SOURCE_DIR}/buildtools/lib/parsers/qmake + ${CMAKE_SOURCE_DIR}/buildtools/lib/widgets + ${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 kdevtrollproject.desktop kdevtmakeproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevtrollproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevtrollproject ) + + +##### libkdevtrollproject (module) ############## + +tde_add_kpart( libkdevtrollproject AUTOMOC + SOURCES + choosesubprojectdlg.cpp choosesubprojectdlgbase.ui + createscopedlg.cpp createscopedlgbase.ui + disablesubprojectdlg.cpp disablesubprojectdlgbase.ui + newwidgetdlg.cpp newwidgetdlgbase.ui + projectconfigurationdlg.cpp projectconfigurationdlgbase.ui + qmakedefaultopts.cpp qmakeoptionswidget.cpp + qmakeoptionswidgetbase.ui qmakescopeitem.cpp + scope.cpp trolllistview.cpp trollprojectpart.cpp + trollprojectwidget.cpp + LINK kdevqmakeparser-shared kdevbuildbase-shared kdevbuildtoolswidgets-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/buildtools/script/CMakeLists.txt b/buildtools/script/CMakeLists.txt new file mode 100644 index 00000000..d3f97540 --- /dev/null +++ b/buildtools/script/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 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/buildtools/lib/base + ${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 kdevscriptproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevscriptproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevscriptproject ) + + +##### libkdevscriptproject (module) ############# + +tde_add_kpart( libkdevscriptproject AUTOMOC + SOURCES + scriptprojectpart.cpp scriptoptionswidget.cpp + scriptoptionswidgetbase.ui scriptnewfiledlg.cpp + LINK kdevbuildbase-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/config.h.cmake b/config.h.cmake index 77d61a45..e71caae8 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -1,22 +1,7 @@ -/* config.h. Generated by cmake from config.h.cmake */ +#define VERSION "@VERSION@" +#cmakedefine QT_DOCDIR "@QT_DOCDIR@" +#cmakedefine KDELIBS_DOXYDIR "@KDELIBS_DOXYDIR@" +#cmakedefine MAKE_COMMAND "@MAKE_COMMAND@" - -#define QT_DOCDIR ${CONFIG_QT_DOCDIR} - -#define KDELIBS_DOXYDIR ${CONFIG_KDELIBS_DOXYDIR} - -#define MAKE_COMMAND "gmake" - -/* Version number of package */ -#define VERSION "3.2.0" - -/* Define if you have libz */ -#define HAVE_LIBZ ${HAVE_LIBZ} - -/* Define if you have libpng */ -#define HAVE_LIBPNG ${HAVE_LIBPNG} - -/* Define to 1 if you have the <dlfcn.h> header file. */ -#define HAVE_DLFCN_H ${HAVE_DLFCN_H} - -////////////////////////////// +#cmakedefine HAVE_SYS_STROPTS_H 1 +#cmakedefine HAVE_MKFIFO 1 diff --git a/editors/CMakeLists.txt b/editors/CMakeLists.txt new file mode 100644 index 00000000..2892a907 --- /dev/null +++ b/editors/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( editor-chooser ) diff --git a/editors/editor-chooser/CMakeLists.txt b/editors/editor-chooser/CMakeLists.txt new file mode 100644 index 00000000..7580858b --- /dev/null +++ b/editors/editor-chooser/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/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdeveditorchooser.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libkdeveditorchooser (module) ############# + +tde_add_kpart( libkdeveditorchooser AUTOMOC + SOURCES + editorchooser_part.cpp editchooser.ui editorchooser_widget.cpp + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kdevdesigner/CMakeLists.txt b/kdevdesigner/CMakeLists.txt new file mode 100644 index 00000000..9584f4c7 --- /dev/null +++ b/kdevdesigner/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( shared ) +add_subdirectory( uilib ) +add_subdirectory( designer ) +add_subdirectory( src ) diff --git a/kdevdesigner/designer/CMakeLists.txt b/kdevdesigner/designer/CMakeLists.txt new file mode 100644 index 00000000..dfd7f914 --- /dev/null +++ b/kdevdesigner/designer/CMakeLists.txt @@ -0,0 +1,105 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( -DDESIGNER -UQT_NO_ASCII_CAST ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/kdevdesigner/shared + ${CMAKE_SOURCE_DIR}/lib/interfaces/external + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES + kdevdesigner_part.desktop + DESTINATION ${SERVICES_INSTALL_DIR} ) + +install( FILES + kdevdesigner_part.rc kdevdesigner_part_sh.rc + DESTINATION ${DATA_INSTALL_DIR}/kdevdesignerpart ) + + +##### libkdevdesignerpart (module) ############## + +set( SRCS + about.ui dbconnection.ui gotolinedialog.ui + newform.ui actionlistview.cpp asciivalidator.cpp + command.cpp connectionitems.cpp connectiontable.cpp + customwidgeteditor.ui formsettings.ui + multilineeditor.ui customwidgeteditorimpl.cpp + database.cpp dbconnectioneditor.ui iconvieweditor.ui + paletteeditor.ui dbconnectionimpl.cpp dbconnectionsimpl.cpp + dbconnections.ui listboxeditor.ui paletteeditoradvanced.ui + defs.cpp designerapp.cpp designerappiface.cpp + editfunctionsimpl.cpp filechooser.cpp formfile.cpp + formsettingsimpl.cpp formwindow.cpp hierarchyview.cpp + iconvieweditorimpl.cpp layout.cpp listboxdnd.cpp + kdevdesigner_part.cpp actiondnd.cpp actioneditorimpl.cpp + listboxeditorimpl.cpp listboxrename.cpp listdnd.cpp + listeditor.ui pixmapcollectioneditor.ui listviewdnd.cpp + listvieweditorimpl.cpp mainwindow.cpp listvieweditor.ui + pixmapfunction.ui startdialog.ui mainwindowactions.cpp + menubareditor.cpp metadatabase.cpp multilineeditorimpl.cpp + newformimpl.cpp orderindicator.cpp myiconloader.cpp + outputwindow.cpp paletteeditoradvancedimpl.cpp + paletteeditorimpl.cpp pixmapchooser.cpp + pixmapcollection.cpp popupmenueditor.cpp previewframe.cpp + preferences.ui tableeditor.ui designeraction.cpp + previewwidget.ui variabledialog.ui actioneditor.ui + previewwidgetimpl.cpp project.cpp projectsettingsimpl.cpp + projectsettings.ui wizardeditor.ui configtoolboxdialog.ui + propertyeditor.cpp propertyobject.cpp qcompletionedit.cpp + replacedialog.ui connectiondialog.ui editfunctions.ui + resource.cpp sizehandle.cpp sourceeditor.cpp + richtextfontdialog.ui createtemplate.ui finddialog.ui + sourcefile.cpp startdialogimpl.cpp styledbutton.cpp + syntaxhighlighter_html.cpp tableeditorimpl.cpp + timestamp.cpp variabledialogimpl.cpp widgetaction.cpp + widgetfactory.cpp wizardeditorimpl.cpp workspace.cpp +) + +tde_moc( SRCS + actiondnd.h actioneditorimpl.h actionlistview.h + asciivalidator.h command.h connectionitems.h + connectiontable.h customwidgeteditorimpl.h database.h + dbconnectionimpl.h dbconnectionsimpl.h editfunctionsimpl.h + filechooser.h formfile.h formsettingsimpl.h + formwindow.h hierarchyview.h iconvieweditorimpl.h + layout.h listboxdnd.h listboxeditorimpl.h listboxrename.h + listdnd.h listviewdnd.h listvieweditorimpl.h mainwindow.h + menubareditor.h multilineeditorimpl.h newformimpl.h + orderindicator.h outputwindow.h paletteeditoradvancedimpl.h + paletteeditorimpl.h pixmapchooser.h popupmenueditor.h + previewframe.h previewwidgetimpl.h project.h + projectsettingsimpl.h propertyeditor.h qcompletionedit.h + sizehandle.h sourceeditor.h sourcefile.h startdialogimpl.h + styledbutton.h tableeditorimpl.h timestamp.h + variabledialogimpl.h widgetaction.h widgetfactory.h + wizardeditorimpl.h workspace.h + ) + + +tde_add_kpart( libkdevdesignerpart AUTOMOC + SOURCES ${SRCS} + LINK + kdevqui-static shared-static kinterfacedesigner-static + kio-shared kparts-shared qassistantclient + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kdevdesigner/shared/CMakeLists.txt b/kdevdesigner/shared/CMakeLists.txt new file mode 100644 index 00000000..46c5e8f6 --- /dev/null +++ b/kdevdesigner/shared/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 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces/external + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + + +##### shared (static) ######################## + +tde_add_library( shared STATIC_PIC + SOURCES + domtool.cpp parser.cpp ui2uib.cpp uib.cpp + widgetdatabase.cpp +) diff --git a/kdevdesigner/src/CMakeLists.txt b/kdevdesigner/src/CMakeLists.txt new file mode 100644 index 00000000..726a91d1 --- /dev/null +++ b/kdevdesigner/src/CMakeLists.txt @@ -0,0 +1,36 @@ +################################################# +# +# (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} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevdesigner.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) +install( FILES kdevdesigner_shell.rc DESTINATION ${DATA_INSTALL_DIR}/kdevdesigner ) + + +##### kdevdesigner (executable) ################# + +tde_add_executable( kdevdesigner AUTOMOC + SOURCES main.cpp kdevdesigner.cpp + LINK kparts-shared + DESTINATION ${BIN_INSTALL_DIR} +) diff --git a/kdevdesigner/uilib/CMakeLists.txt b/kdevdesigner/uilib/CMakeLists.txt new file mode 100644 index 00000000..3aa1c78f --- /dev/null +++ b/kdevdesigner/uilib/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 +# +################################################# + +include_directories( + ${CMAKE_SOURCE_DIR}/kdevdesigner/shared + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + + +##### kdevqui (static) ########################## + +set( SRCS database.cpp qwidgetfactory.cpp ) + +tde_moc( SRCS database2.h ) + +tde_add_library( kdevqui STATIC_PIC + SOURCES ${SRCS} +) 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 +# +################################################# diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt new file mode 100644 index 00000000..07d06e3b --- /dev/null +++ b/lib/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 +# +################################################# + +add_subdirectory( util ) +add_subdirectory( interfaces ) +add_subdirectory( widgets ) +add_subdirectory( antlr ) +add_subdirectory( catalog ) +add_subdirectory( cppparser ) +add_subdirectory( astyle ) + +include_directories( + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### kdevelop (shared) ######################### + +tde_add_library( kdevelop SHARED + SOURCES dummy.cpp + VERSION 1.0.0 + EMBED kdevutil-static kdevinterfaces-static + LINK + kdevpropertyeditor-shared + kscript-shared kparts-shared ktexteditor-shared + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/lib/antlr/CMakeLists.txt b/lib/antlr/CMakeLists.txt new file mode 100644 index 00000000..8e293b46 --- /dev/null +++ b/lib/antlr/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( src ) +add_subdirectory( antlr ) diff --git a/lib/antlr/antlr/CMakeLists.txt b/lib/antlr/antlr/CMakeLists.txt new file mode 100644 index 00000000..96e1e621 --- /dev/null +++ b/lib/antlr/antlr/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/lib/antlr/src/CMakeLists.txt b/lib/antlr/src/CMakeLists.txt new file mode 100644 index 00000000..2215c5f6 --- /dev/null +++ b/lib/antlr/src/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 +# +################################################# + +# FIXME KDE_CXXFLAGS = $(USE_EXCEPTIONS) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/antlr + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + + +##### antlr (static) ############################ + +tde_add_library( antlr STATIC_PIC + SOURCES + ANTLRUtil.cpp ASTFactory.cpp ASTNULLType.cpp + ASTRefCount.cpp BaseAST.cpp BitSet.cpp + CharBuffer.cpp CharScanner.cpp CommonAST.cpp + CommonASTWithHiddenTokens.cpp CommonHiddenStreamToken.cpp + CommonToken.cpp InputBuffer.cpp LLkParser.cpp + MismatchedCharException.cpp MismatchedTokenException.cpp + NoViableAltException.cpp NoViableAltForCharException.cpp + Parser.cpp RecognitionException.cpp String.cpp + Token.cpp TokenBuffer.cpp TokenRefCount.cpp + TokenStreamBasicFilter.cpp TokenStreamHiddenTokenFilter.cpp + TokenStreamRewriteEngine.cpp TokenStreamSelector.cpp + TreeParser.cpp +) diff --git a/lib/astyle/CMakeLists.txt b/lib/astyle/CMakeLists.txt new file mode 100644 index 00000000..8a0abb9b --- /dev/null +++ b/lib/astyle/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 +# +################################################# + +include_directories( + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + + +##### astyle (static) ########################### + +tde_add_library( astyle STATIC_PIC + SOURCES + ASBeautifier.cpp ASEnhancer.cpp + ASFormatter.cpp ASResource.cpp +) diff --git a/lib/catalog/CMakeLists.txt b/lib/catalog/CMakeLists.txt new file mode 100644 index 00000000..404b7bc9 --- /dev/null +++ b/lib/catalog/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_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES + catalog.h tag.h + DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/catalog ) + + +##### kdevcatalog (shared) ###################### + +tde_add_library( kdevcatalog SHARED AUTOMOC + SOURCES tag.cpp catalog.cpp + VERSION 0.0.0 + LINK kdecore-shared ${BDB_LIBRARY} + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/lib/cppparser/CMakeLists.txt b/lib/cppparser/CMakeLists.txt new file mode 100644 index 00000000..d8cf531d --- /dev/null +++ b/lib/cppparser/CMakeLists.txt @@ -0,0 +1,43 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( -DKDEVELOP_BGPARSER ) + +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 + ast.h driver.h lexer.h parser.h tree_parser.h errors.h + lookup.h cachemanager.h lexercache.h macro.h + DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/cppparser ) + + +##### kdevcppparser (shared) #################### + +tde_add_library( kdevcppparser SHARED AUTOMOC + SOURCES + ast.cpp cachemanager.cpp driver.cpp errors.cpp lexer.cpp + lexercache.cpp lookup.cpp parser.cpp tree_parser.cpp + VERSION 0.0.0 + LINK kdevinterfaces-static kio-shared + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/lib/interfaces/CMakeLists.txt b/lib/interfaces/CMakeLists.txt new file mode 100644 index 00000000..fac94870 --- /dev/null +++ b/lib/interfaces/CMakeLists.txt @@ -0,0 +1,61 @@ +################################################# +# +# (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( extensions ) +add_subdirectory( external ) +add_subdirectory( extras ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/lib/util + ${CMAKE_SOURCE_DIR}/lib/interfaces/external + ${CMAKE_SOURCE_DIR}/lib/cppparser + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + + +##### headers ################################### + +install( FILES + kdevlanguagesupport.h kdevmainwindow.h kdevpartcontroller.h + kdevplugin.h kdevproject.h kdevcore.h kdevcoderepository.h + codemodel.h codemodel_utils.h codemodel_treeparser.h + kdevgenericfactory.h kdevapi.h kdevdesignerintegration.h + kdevplugincontroller.h kdevplugininfo.h KDevCoreIface.h + KDevPartControllerIface.h katedocumentmanagerinterface.h + hashedstring.h + DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/interfaces ) + +install( FILES + kdevelopproject.desktop kdeveloplanguagesupport.desktop + kdevelopplugin.desktop + DESTINATION ${SERVICETYPES_INSTALL_DIR} ) + + +##### kdevinterfaces (static) ################### + +tde_add_library( kdevinterfaces STATIC_PIC AUTOMOC + SOURCES + kdevcore.cpp kdevproject.cpp kdevlanguagesupport.cpp + kdevpartcontroller.cpp kdevapi.cpp KDevCoreIface.skel + kdevmainwindow.cpp KDevPartControllerIface.skel + kdevplugin.cpp kdevcoderepository.cpp + codemodel.cpp codemodel_treeparser.cpp + codemodel_utils.cpp kdevdesignerintegration.cpp + kdevplugincontroller.cpp kdevplugininfo.cpp + KDevCoreIface.cpp KDevPartControllerIface.cpp + katedocumentmanagerinterface.cpp + katedocumentmanagerinterface.skel kdevprojectiface.cpp + kdevprojectiface.skel kdevdesignerintegrationiface.cpp + kdevdesignerintegrationiface.skel hashedstring.cpp +) diff --git a/lib/interfaces/extensions/CMakeLists.txt b/lib/interfaces/extensions/CMakeLists.txt new file mode 100644 index 00000000..d7c9cbf1 --- /dev/null +++ b/lib/interfaces/extensions/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( dcop ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + + +##### headers ################################### + +install( FILES + codebrowserfrontend.h kdevappfrontend.h kdevcreatefile.h + kdevdifffrontend.h kdevmakefrontend.h kdevquickopen.h + kdevsourceformatter.h kdevversioncontrol.h + DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/interfaces/extensions ) + +install( FILES + kdevelopappfrontend.desktop kdevelopcodebrowserfrontend.desktop + kdevelopcreatefile.desktop kdevelopdifffrontend.desktop + kdevelopmakefrontend.desktop kdevelopquickopen.desktop + kdevelopsourceformatter.desktop kdevelopversioncontrol.desktop + DESTINATION ${SERVICETYPES_INSTALL_DIR} ) + + +##### kdevextensions (static) ################### + +add_custom_command( OUTPUT codebrowserfrontend.moc.cpp + COMMAND + ${TQT_TMOC_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/codebrowserfrontend.h -o codebrowserfrontend.moc.cpp + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/codebrowserfrontend.h ) + +add_custom_command( OUTPUT kdevversioncontrol.moc.cpp + COMMAND + ${TQT_TMOC_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/kdevversioncontrol.h -o kdevversioncontrol.moc.cpp + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/kdevversioncontrol.h ) + +tde_add_library( kdevextensions STATIC_PIC AUTOMOC + SOURCES + kdevappfrontend.cpp kdevappfrontend.cpp kdevmakefrontend.cpp + codebrowserfrontend.moc.cpp kdevversioncontrol.moc.cpp +) diff --git a/lib/interfaces/extensions/dcop/CMakeLists.txt b/lib/interfaces/extensions/dcop/CMakeLists.txt new file mode 100644 index 00000000..03e2d622 --- /dev/null +++ b/lib/interfaces/extensions/dcop/CMakeLists.txt @@ -0,0 +1,34 @@ +################################################# +# +# (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 + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + + +##### headers ################################### + +install( FILES + KDevAppFrontendIface.h KDevMakeFrontendIface.h + DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/interfaces/extensions/dcop ) + + +##### kdevdcopextensions (static) ############### + +tde_add_library( kdevdcopextensions STATIC_PIC + SOURCES + KDevAppFrontendIface.cpp KDevMakeFrontendIface.cpp + KDevAppFrontendIface.skel KDevMakeFrontendIface.skel +) diff --git a/lib/interfaces/external/CMakeLists.txt b/lib/interfaces/external/CMakeLists.txt new file mode 100644 index 00000000..1a12815c --- /dev/null +++ b/lib/interfaces/external/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 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + + +##### headers ################################### + +install( FILES + designer.h + DESTINATION ${INCLUDE_INSTALL_DIR}/kinterfacedesigner ) + + +##### kinterfacedesigner (static) ############### + +tde_add_library( kinterfacedesigner STATIC_PIC AUTOMOC + SOURCES designer.cpp +) diff --git a/lib/interfaces/extras/CMakeLists.txt b/lib/interfaces/extras/CMakeLists.txt new file mode 100644 index 00000000..522a9c10 --- /dev/null +++ b/lib/interfaces/extras/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} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES + kdevcompileroptions.h kdevvcsintegrator.h + DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/interfaces/extras ) + +install( FILES + kdevelopcompileroptions.desktop kdevelopvcsintegrator.desktop + DESTINATION ${SERVICETYPES_INSTALL_DIR} ) + + +##### kdevextras (shared) ####################### + +tde_add_library( kdevextras SHARED AUTOMOC + SOURCES kdevcompileroptions.cpp kdevvcsintegrator.cpp + VERSION 0.0.0 + LINK ${TQT_LIBRARIES} + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/lib/util/CMakeLists.txt b/lib/util/CMakeLists.txt new file mode 100644 index 00000000..f075a840 --- /dev/null +++ b/lib/util/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_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + + +##### headers ################################### + +install( FILES + domutil.h execcommand.h filetemplate.h urlutil.h + configwidgetproxy.h rurl.h kscriptactionmanager.h + DESTINATION ${INCLUDE_INSTALL_DIR} ) + + +##### kdevutil (static) ######################### + +tde_add_library( kdevutil STATIC_PIC AUTOMOC + SOURCES + blockingkprocess.cpp configwidgetproxy.cpp + domutil.cpp execcommand.cpp filetemplate.cpp + kdeveditorutil.cpp kdevjobtimer.cpp + kdevshellwidget.cpp kscriptactionmanager.cpp + rurl.cpp settings.cpp urlutil.cpp +) diff --git a/lib/widgets/CMakeLists.txt b/lib/widgets/CMakeLists.txt new file mode 100644 index 00000000..aae0455b --- /dev/null +++ b/lib/widgets/CMakeLists.txt @@ -0,0 +1,52 @@ +################################################# +# +# (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( propeditor ) + +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 + klistviewaction.h qcomboview.h flagboxes.h + ksavealldialog.h resizablecombo.h kcomboview.h + kdevhtmlpart.h processlinemaker.h processwidget.h + fancylistviewitem.h + DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/widgets ) + + +##### other data ################################ + +install( FILES kdevhtml_partui.rc DESTINATION ${DATA_INSTALL_DIR}/kdevelop ) + + +##### kdevwidgets (shared) ###################### + +tde_add_library( kdevwidgets SHARED AUTOMOC + SOURCES + flagboxes.cpp qcomboview.cpp klistviewaction.cpp + kcomboview.cpp resizablecombo.cpp kdevhtmlpart.cpp + processlinemaker.cpp processwidget.cpp ksavealldialog.cpp + fancylistviewitem.cpp + VERSION 0.0.0 + LINK kio-shared khtml-shared + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/lib/widgets/propeditor/CMakeLists.txt b/lib/widgets/propeditor/CMakeLists.txt new file mode 100644 index 00000000..792ff33c --- /dev/null +++ b/lib/widgets/propeditor/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 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES + childproperty.h pcombobox.h pdummywidget.h + ppointedit.h propertymachinefactory.h + pcursoredit.h pfontbutton.h prectedit.h + propertywidget.h pdateedit.h pfontcombo.h + property.h psizeedit.h pdatetimeedit.h + plineedit.h propertyeditor.h psizepolicyedit.h + pdoublenuminput.h ppixmapedit.h propertylist.h + pspinbox.h propertywidgetproxy.h multiproperty.h + pyesnobutton.h purledit.h psymbolcombo.h + pstringlistedit.h pcolorcombo.h pcolorbutton.h + pcheckbox.h plinestyleedit.h + DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/propeditor ) + + +##### kdevpropertyeditor (shared) ############### + +tde_add_library( kdevpropertyeditor SHARED AUTOMOC + SOURCES + childproperty.cpp pcombobox.cpp pdummywidget.cpp + ppointedit.cpp propertymachinefactory.cpp + pstringlistedit.cpp multiproperty.cpp pcursoredit.cpp + pfontbutton.cpp prectedit.cpp propertywidget.cpp + psymbolcombo.cpp pcheckbox.cpp pdateedit.cpp pfontcombo.cpp + property.cpp psizeedit.cpp purledit.cpp pcolorbutton.cpp + pdatetimeedit.cpp plineedit.cpp propertyeditor.cpp + psizepolicyedit.cpp pyesnobutton.cpp pcolorcombo.cpp + pdoublenuminput.cpp ppixmapedit.cpp propertylist.cpp + pspinbox.cpp propertywidgetproxy.cpp plinestyleedit.cpp + qeditlistbox.cpp + VERSION 0.0.0 + LINK kio-shared + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/mimetypes/CMakeLists.txt b/mimetypes/CMakeLists.txt new file mode 100644 index 00000000..00999dfd --- /dev/null +++ b/mimetypes/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 + x-fortran.desktop + DESTINATION ${MIME_INSTALL_DIR} ) diff --git a/parts/CMakeLists.txt b/parts/CMakeLists.txt new file mode 100644 index 00000000..8eadf501 --- /dev/null +++ b/parts/CMakeLists.txt @@ -0,0 +1,43 @@ +################################################# +# +# (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( abbrev ) +add_subdirectory( appwizard ) +add_subdirectory( astyle ) +add_subdirectory( bookmarks ) +add_subdirectory( classview ) +add_subdirectory( diff ) +add_subdirectory( filecreate ) +add_subdirectory( fileview ) +add_subdirectory( fullscreen ) +add_subdirectory( outputviews ) +add_subdirectory( grepview ) +add_subdirectory( valgrind ) +add_subdirectory( distpart ) +add_subdirectory( konsole ) +add_subdirectory( tools ) +add_subdirectory( regexptest ) +add_subdirectory( doxygen ) +add_subdirectory( fileselector ) +add_subdirectory( tipofday ) +add_subdirectory( filter ) +add_subdirectory( uimode ) +add_subdirectory( openwith ) +add_subdirectory( texttools ) +add_subdirectory( replace ) +add_subdirectory( partexplorer ) +add_subdirectory( quickopen ) +add_subdirectory( snippet ) +add_subdirectory( filelist ) +add_subdirectory( ctags2 ) +add_subdirectory( documentation ) +add_subdirectory( scripting ) +add_subdirectory( vcsmanager ) diff --git a/parts/abbrev/CMakeLists.txt b/parts/abbrev/CMakeLists.txt new file mode 100644 index 00000000..8d1df697 --- /dev/null +++ b/parts/abbrev/CMakeLists.txt @@ -0,0 +1,43 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevabbrev.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES qt_classes cpp_keywords DESTINATION ${DATA_INSTALL_DIR}/kdevabbrev/sources ) +install( FILES kdevabbrev.rc DESTINATION ${DATA_INSTALL_DIR}/kdevabbrev ) + + +##### libkdevabbrev (module) #################### + +tde_add_kpart( libkdevabbrev AUTOMOC + SOURCES + abbrevpart.cpp abbrevconfigwidget.cpp + abbrevconfigwidgetbase.ui addtemplatedlg.cpp + addtemplatedlgbase.ui + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/appwizard/CMakeLists.txt b/parts/appwizard/CMakeLists.txt new file mode 100644 index 00000000..181246bd --- /dev/null +++ b/parts/appwizard/CMakeLists.txt @@ -0,0 +1,52 @@ +################################################# +# +# (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( imports ) +add_subdirectory( common ) +add_subdirectory( licenses ) + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/interfaces/extras + ${CMAKE_SOURCE_DIR}/lib/interfaces/external + ${CMAKE_SOURCE_DIR}/lib/util + ${CMAKE_SOURCE_DIR}/lib/widgets + ${CMAKE_SOURCE_DIR}/src/profileengine/lib + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevappwizard.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevappwizard.rc DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +##### libkdevappwizard (module) ################# + +tde_add_kpart( libkdevappwizard AUTOMOC + SOURCES + appwizardfactory.cpp appwizardpart.cpp appwizarddlg.cpp + importdlg.cpp filepropspagebase.ui filepropspage.cpp + appwizarddlgbase.ui importdlgbase.ui misc.cpp vcs_form.ui + kdevfile.cpp kdevlicense.cpp profilesupport.cpp + LINK profileengine-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/appwizard/common/CMakeLists.txt b/parts/appwizard/common/CMakeLists.txt new file mode 100644 index 00000000..3e333dd8 --- /dev/null +++ b/parts/appwizard/common/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 +# +################################################# + +function( generate_tar output source ) + add_custom_target( ${output} ALL + COMMAND tar -zcf ${output} --exclude=.svn --exclude=*.cdbs-orig -C ${CMAKE_CURRENT_SOURCE_DIR}/${source} ${ARGN} ) +endfunction( ) + +generate_tar( admin.tar.gz "" admin ) +generate_tar( gnome.tar.gz gnome macros ) +generate_tar( gnome2.tar.gz gnome2 macros ) +generate_tar( gnu.tar.gz gnu AUTHORS COPYING ChangeLog INSTALL NEWS README TODO ) +generate_tar( wxwidgets.tar.gz wx macros ) +generate_tar( incadmin.tar.gz incadmin config.guess config.sub depcomp install-sh ltmain.sh missing mkinstalldirs ) +generate_tar( scons.tar.gz scons configure admin/scons-mini.tar.bz2 admin/generic.py admin/kde.py ) + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/admin.tar.gz + ${CMAKE_CURRENT_BINARY_DIR}/gnu.tar.gz + ${CMAKE_CURRENT_BINARY_DIR}/incadmin.tar.gz + ${CMAKE_CURRENT_BINARY_DIR}/gnome.tar.gz + ${CMAKE_CURRENT_BINARY_DIR}/gnome2.tar.gz + ${CMAKE_CURRENT_BINARY_DIR}/wxwidgets.tar.gz + kde-app.lsm kde-Makefile.am kde-Makefile.cvs + kde-configure.in.in kde-index.docbook + kde-po-Makefile.am kde-doc-Makefile.am + kde-doc-en-Makefile.am hi16-app-app.png + hi32-app-app.png kde-app.desktop + kde-part.desktop gnome-app.lsm + gnome-Makefile.am gnome-Makefile.cvs + gnome-pixmaps-Makefile.am gnome-app.png + wx-configure.in wx-Makefile.am wx-Makefile.cvs + COPYING COPYING.LIB LICENSE.QPL LICENSE.BSD + Artistic admin.kdevtemplate gnu.kdevtemplate + dockbook.kdevtemplate incadmin.kdevtemplate + gnome2.kdevtemplate scons.kdevtemplate + ${CMAKE_CURRENT_BINARY_DIR}/scons.tar.gz + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/template-common ) diff --git a/parts/appwizard/imports/CMakeLists.txt b/parts/appwizard/imports/CMakeLists.txt new file mode 100644 index 00000000..e8059726 --- /dev/null +++ b/parts/appwizard/imports/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 +# +################################################# + +install( FILES + c-auto cpp-auto fortran-auto java-auto kde gnome c cpp + fortran python php perl java java-ant qttmake qtqmake + qt4qmake ruby pascal ada + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/imports ) + +install( FILES + c-auto.kdevelop cpp-auto.kdevelop fortran-auto.kdevelop + java-auto.kdevelop kde.kdevelop gnome.kdevelop + c.kdevelop cpp.kdevelop fortran.kdevelop python.kdevelop + php.kdevelop perl.kdevelop java.kdevelop java-ant.kdevelop + qttmake.kdevelop qtqmake.kdevelop qt4qmake.kdevelop + ruby.kdevelop pascal.kdevelop ada.kdevelop + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/importfiles ) diff --git a/parts/appwizard/licenses/CMakeLists.txt b/parts/appwizard/licenses/CMakeLists.txt new file mode 100644 index 00000000..87e9c62f --- /dev/null +++ b/parts/appwizard/licenses/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 + GPL LGPL BSD QPL GPL+Qt-Exception MIT NCSA + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/licenses ) diff --git a/parts/astyle/CMakeLists.txt b/parts/astyle/CMakeLists.txt new file mode 100644 index 00000000..cd2f0eb0 --- /dev/null +++ b/parts/astyle/CMakeLists.txt @@ -0,0 +1,43 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/util + ${CMAKE_SOURCE_DIR}/lib/astyle + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevastyle.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevpart_astyle.rc DESTINATION ${DATA_INSTALL_DIR}/kdevastyle ) + + +##### libkdevastyle (module) #################### + +tde_add_kpart( libkdevastyle AUTOMOC + SOURCES + astyle_part.cpp astyleconfig.ui astyle_widget.cpp + astyle_adaptor.cpp + LINK astyle-static kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/bookmarks/CMakeLists.txt b/parts/bookmarks/CMakeLists.txt new file mode 100644 index 00000000..714c5816 --- /dev/null +++ b/parts/bookmarks/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 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevbookmarks.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libkdevbookmarks (module) ################# + +tde_add_kpart( libkdevbookmarks AUTOMOC + SOURCES + bookmarks_part.cpp bookmarks_widget.cpp bookmarks_settings_base.ui + bookmarks_settings.cpp bookmarks_config.cpp + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/classview/CMakeLists.txt b/parts/classview/CMakeLists.txt new file mode 100644 index 00000000..b0037f91 --- /dev/null +++ b/parts/classview/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_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/external + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/widgets + ${CMAKE_SOURCE_DIR}/lib/util + ${CMAKE_SOURCE_DIR}/parts/classview + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevclassview.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevclassview.rc DESTINATION ${DATA_INSTALL_DIR}/kdevclassview ) + + +##### libkdevclassview (module) ################# + +tde_add_kpart( libkdevclassview AUTOMOC + SOURCES + classviewpart.cpp classviewwidget.cpp digraphview.cpp + hierarchydlg.cpp navigator.cpp viewcombos.cpp + LINK + kdevextensions-static kdevelop-shared kdevwidgets-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/ctags2/CMakeLists.txt b/parts/ctags2/CMakeLists.txt new file mode 100644 index 00000000..892cfba9 --- /dev/null +++ b/parts/ctags2/CMakeLists.txt @@ -0,0 +1,45 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevctags2.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevpart_ctags2.rc DESTINATION ${DATA_INSTALL_DIR}/kdevctags2 ) + + +##### libkdevctags2 (module) #################### + +tde_add_kpart( libkdevctags2 AUTOMOC + SOURCES + ctags2_part.cpp readtags.c ctags2_widgetbase.ui + ctags2_widget.cpp tags.cpp ctagskinds.cpp + ctags2_settingswidgetbase.ui ctags2_settingswidget.cpp + ctags2_selecttagfilebase.ui ctags2_selecttagfile.cpp + ctags2_createtagfilebase.ui ctags2_createtagfile.cpp + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/diff/CMakeLists.txt b/parts/diff/CMakeLists.txt new file mode 100644 index 00000000..00671533 --- /dev/null +++ b/parts/diff/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 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevdiff.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevdiff.rc DESTINATION ${DATA_INSTALL_DIR}/kdevdiff ) + + +##### libkdevdiff (module) ###################### + +tde_add_kpart( libkdevdiff AUTOMOC + SOURCES diffpart.cpp diffwidget.cpp + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/distpart/CMakeLists.txt b/parts/distpart/CMakeLists.txt new file mode 100644 index 00000000..9e936c53 --- /dev/null +++ b/parts/distpart/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_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevdistpart.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevpart_distpart.rc DESTINATION ${DATA_INSTALL_DIR}/kdevdistpart ) + + +##### libkdevdistpart (module) ################## + +tde_add_kpart( libkdevdistpart AUTOMOC + SOURCES + distpart_ui.ui distpart_part.cpp distpart_widget.cpp + packagebase.cpp lsmsupport.cpp specsupport.cpp + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/documentation/CMakeLists.txt b/parts/documentation/CMakeLists.txt new file mode 100644 index 00000000..0c02a06b --- /dev/null +++ b/parts/documentation/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( interfaces ) +add_subdirectory( plugins ) +add_subdirectory( tools ) +add_subdirectory( data ) +add_subdirectory( protocols ) + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevdocumentation.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevpart_documentation.rc DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation ) + + +##### libkdevdocumentation (module) ############# + +tde_add_kpart( libkdevdocumentation AUTOMOC + SOURCES + documentation_part.cpp documentation_widget.cpp + contentsview.cpp indexview.cpp docglobalconfigwidgetbase.ui + docglobalconfigwidget.cpp docconfiglistview.cpp + editcatalogdlgbase.ui editcatalogdlg.cpp + docutils.cpp searchview.cpp bookmarkview.cpp + editbookmarkdlg.ui find_documentationbase.ui + find_documentation.cpp find_documentation_optionsbase.ui + find_documentation_options.cpp selecttopicbase.ui + selecttopic.cpp docprojectconfigwidgetbase.ui + docprojectconfigwidget.cpp KDevDocumentationIface.cpp + KDevDocumentationIface.skel addcatalogdlgbase.ui + addcatalogdlg.cpp + LINK documentation_interfaces-shared kdevelop-shared khtml-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/documentation/data/CMakeLists.txt b/parts/documentation/data/CMakeLists.txt new file mode 100644 index 00000000..77d380d4 --- /dev/null +++ b/parts/documentation/data/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 +# +################################################# + +install( FILES + long.html nomatch.html short.html syntax.html wrapper.html + DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation/en ) + +install( FILES + checked.xpm htdig.png star.png star_blank.png unchecked.xpm + DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation/pics ) diff --git a/parts/documentation/interfaces/CMakeLists.txt b/parts/documentation/interfaces/CMakeLists.txt new file mode 100644 index 00000000..8550a5cf --- /dev/null +++ b/parts/documentation/interfaces/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} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES + kdevdocumentationplugin.h + DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/parts/documentation ) + + +##### other data ################################ + +install( FILES + kdevelopdocumentationplugins.desktop + DESTINATION ${SERVICETYPES_INSTALL_DIR} ) + + +##### documentation_interfaces (shared) ######### + +tde_add_library( documentation_interfaces SHARED AUTOMOC + SOURCES kdevdocumentationplugin.cpp + VERSION 0.0.0 + LINK kio-shared + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/parts/documentation/plugins/CMakeLists.txt b/parts/documentation/plugins/CMakeLists.txt new file mode 100644 index 00000000..281c40f8 --- /dev/null +++ b/parts/documentation/plugins/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 +# +################################################# + +add_subdirectory( qt ) +add_subdirectory( doxygen ) +add_subdirectory( devhelp ) +add_subdirectory( kdevtoc ) +add_subdirectory( chm ) +add_subdirectory( custom ) diff --git a/parts/documentation/plugins/chm/CMakeLists.txt b/parts/documentation/plugins/chm/CMakeLists.txt new file mode 100644 index 00000000..d0f18aea --- /dev/null +++ b/parts/documentation/plugins/chm/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 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/util + ${CMAKE_SOURCE_DIR}/parts/documentation/interfaces + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES docchmplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libdocchmplugin (module) ################## + +tde_add_kpart( libdocchmplugin AUTOMOC + SOURCES docchmplugin.cpp + LINK documentation_interfaces-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/documentation/plugins/custom/CMakeLists.txt b/parts/documentation/plugins/custom/CMakeLists.txt new file mode 100644 index 00000000..0715ad11 --- /dev/null +++ b/parts/documentation/plugins/custom/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 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/parts/documentation/interfaces + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES doccustomplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libdoccustomplugin (module) ############### + +tde_add_kpart( libdoccustomplugin + SOURCES doccustomplugin.cpp + LINK documentation_interfaces-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/documentation/plugins/devhelp/CMakeLists.txt b/parts/documentation/plugins/devhelp/CMakeLists.txt new file mode 100644 index 00000000..f877d04a --- /dev/null +++ b/parts/documentation/plugins/devhelp/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 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/util + ${CMAKE_SOURCE_DIR}/parts/documentation/interfaces + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES docdevhelpplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libdocdevhelpplugin (module) ############## + +tde_add_kpart( libdocdevhelpplugin AUTOMOC + SOURCES docdevhelpplugin.cpp + LINK documentation_interfaces-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/documentation/plugins/doxygen/CMakeLists.txt b/parts/documentation/plugins/doxygen/CMakeLists.txt new file mode 100644 index 00000000..3f54572e --- /dev/null +++ b/parts/documentation/plugins/doxygen/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 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/util + ${CMAKE_SOURCE_DIR}/parts/documentation/interfaces + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES docdoxygenplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libdocdoxygenplugin (module) ############## + +tde_add_kpart( libdocdoxygenplugin AUTOMOC + SOURCES docdoxygenplugin.cpp + LINK documentation_interfaces-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/documentation/plugins/kdevtoc/CMakeLists.txt b/parts/documentation/plugins/kdevtoc/CMakeLists.txt new file mode 100644 index 00000000..80d66f4f --- /dev/null +++ b/parts/documentation/plugins/kdevtoc/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 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/util + ${CMAKE_SOURCE_DIR}/parts/documentation/interfaces + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES dockdevtocplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libdockdevtocplugin (module) ############## + +tde_add_kpart( libdockdevtocplugin AUTOMOC + SOURCES dockdevtocplugin.cpp + LINK documentation_interfaces-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/documentation/plugins/qt/CMakeLists.txt b/parts/documentation/plugins/qt/CMakeLists.txt new file mode 100644 index 00000000..c0e0c624 --- /dev/null +++ b/parts/documentation/plugins/qt/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 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/util + ${CMAKE_SOURCE_DIR}/parts/documentation/interfaces + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES docqtplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libdocqtplugin (module) ################### + +tde_add_kpart( libdocqtplugin AUTOMOC + SOURCES docqtplugin.cpp + LINK documentation_interfaces-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/documentation/protocols/CMakeLists.txt b/parts/documentation/protocols/CMakeLists.txt new file mode 100644 index 00000000..5351c010 --- /dev/null +++ b/parts/documentation/protocols/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( chm ) diff --git a/parts/documentation/protocols/chm/CMakeLists.txt b/parts/documentation/protocols/chm/CMakeLists.txt new file mode 100644 index 00000000..49745057 --- /dev/null +++ b/parts/documentation/protocols/chm/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 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/widgets + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES + chm.protocol kchmpart.desktop + DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### kio_chm (module) ########################## + +tde_add_kpart( kio_chm + SOURCES decompress.cpp chmfile.cpp chm.cpp + LINK kio-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### libkchmpart (module) ###################### + +tde_add_kpart( libkchmpart AUTOMOC + SOURCES kchmpart.cpp + LINK kdevwidgets-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/documentation/tools/CMakeLists.txt b/parts/documentation/tools/CMakeLists.txt new file mode 100644 index 00000000..dc701198 --- /dev/null +++ b/parts/documentation/tools/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( htdig ) diff --git a/parts/documentation/tools/htdig/CMakeLists.txt b/parts/documentation/tools/htdig/CMakeLists.txt new file mode 100644 index 00000000..b42e0d6f --- /dev/null +++ b/parts/documentation/tools/htdig/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 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### kdevelop-htdig (executable) ############### + +tde_add_executable( kdevelop-htdig AUTOMOC + SOURCES htdigindex.cpp + LINK kio-shared + DESTINATION ${BIN_INSTALL_DIR} +) diff --git a/parts/doxygen/CMakeLists.txt b/parts/doxygen/CMakeLists.txt new file mode 100644 index 00000000..bfd6a178 --- /dev/null +++ b/parts/doxygen/CMakeLists.txt @@ -0,0 +1,43 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( ${KDE_PLUGIN} -DDOXYWIZARD ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/util + ${CMAKE_SOURCE_DIR}/src + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevdoxygen.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevdoxygen.rc DESTINATION ${DATA_INSTALL_DIR}/kdevdoxygen ) + + +##### libkdevdoxygen (module) ################### + +tde_add_kpart( libkdevdoxygen AUTOMOC + SOURCES + doxygenpart.cpp doxygenconfigwidget.cpp input.cpp + config.cpp version.cpp messages.cpp + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/filecreate/CMakeLists.txt b/parts/filecreate/CMakeLists.txt new file mode 100644 index 00000000..7cc22d04 --- /dev/null +++ b/parts/filecreate/CMakeLists.txt @@ -0,0 +1,49 @@ +################################################# +# +# (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_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/util + ${CMAKE_SOURCE_DIR}/parts/filecreate + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevfilecreate.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevpart_filecreate.rc template-info.xml DESTINATION ${DATA_INSTALL_DIR}/kdevfilecreate ) + + +##### libkdevfilecreate (module) ################ + +tde_add_kpart( libkdevfilecreate AUTOMOC + SOURCES + filecreate_part.cpp filecreate_listitem.cpp + filecreate_filetype.cpp filecreate_filedialog.cpp + fcconfigwidgetbase.ui fcconfigwidget.cpp fctypeeditbase.ui + fctypeedit.cpp fctemplateeditbase.ui fctemplateedit.cpp + filecreate_newfile.cpp + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/filecreate/file-templates/CMakeLists.txt b/parts/filecreate/file-templates/CMakeLists.txt new file mode 100644 index 00000000..04405e1a --- /dev/null +++ b/parts/filecreate/file-templates/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 + ui ui-dialog ui-mainwin ui-confdialog ui-dialogb ui-widget + ui-dialogr ui-tabdialog ui-wizard dox ts ui-mainwin-qt4 + ui-widget-qt4 ui-dialogb-qt4 ui-dialogr-qt4 ui-dialog-qt4 + qrc + DESTINATION ${DATA_INSTALL_DIR}/kdevfilecreate/file-templates ) diff --git a/parts/filelist/CMakeLists.txt b/parts/filelist/CMakeLists.txt new file mode 100644 index 00000000..38a8078d --- /dev/null +++ b/parts/filelist/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_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevfilelist.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevfilelist.rc DESTINATION ${DATA_INSTALL_DIR}/kdevfilelist ) + + +##### libkdevfilelist (module) ################## + +tde_add_kpart( libkdevfilelist AUTOMOC + SOURCES + filelist_widget.cpp filelist_item.cpp + projectviewprojectconfigbase.ui + projectviewprojectconfig.cpp projectviewpart.cpp + toolbarguibuilder.cpp projectviewconfigbase.ui + projectviewconfig.cpp + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/fileselector/CMakeLists.txt b/parts/fileselector/CMakeLists.txt new file mode 100644 index 00000000..7daf159a --- /dev/null +++ b/parts/fileselector/CMakeLists.txt @@ -0,0 +1,41 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevfileselector.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libkdevfileselector (module) ############## + +tde_add_kpart( libkdevfileselector AUTOMOC + SOURCES + fileselector_part.cpp fileselector_widget.cpp + kactionselector.cpp kbookmarkhandler.cpp + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/fileview/CMakeLists.txt b/parts/fileview/CMakeLists.txt new file mode 100644 index 00000000..9f228a18 --- /dev/null +++ b/parts/fileview/CMakeLists.txt @@ -0,0 +1,57 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES + kdevfileview.desktop kdevfilegroups.desktop + DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libkdevfileview (module) ################## + +tde_add_kpart( libkdevfileview AUTOMOC + SOURCES + fileviewpart.cpp filetreewidget.cpp partwidget.cpp + vcscolorsconfigwidgetbase.ui vcscolorsconfigwidget.cpp + stdfiletreewidgetimpl.cpp filetreeviewwidgetimpl.cpp + vcsfiletreewidgetimpl.cpp fileitemfactory.cpp + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### libkdevfilegroups (module) ################ + +tde_add_kpart( libkdevfilegroups AUTOMOC + SOURCES + filegroupswidget.cpp addfilegroupdlg.cpp + filegroupsconfigwidget.cpp filegroupsconfigwidgetbase.ui + filegroupspart.cpp + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/filter/CMakeLists.txt b/parts/filter/CMakeLists.txt new file mode 100644 index 00000000..3fb4b4aa --- /dev/null +++ b/parts/filter/CMakeLists.txt @@ -0,0 +1,41 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevfilter.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevfilter.rc DESTINATION ${DATA_INSTALL_DIR}/kdevfilter ) + + +##### libkdevfilter (module) #################### + +tde_add_kpart( libkdevfilter AUTOMOC + SOURCES + filterpart.cpp shellfilterdlg.cpp shellinsertdlg.cpp + kdevfilterIface.cpp kdevfilterIface.skel + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/fullscreen/CMakeLists.txt b/parts/fullscreen/CMakeLists.txt new file mode 100644 index 00000000..c998cff2 --- /dev/null +++ b/parts/fullscreen/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 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevfullscreen.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevpart_fullscreen.rc DESTINATION ${DATA_INSTALL_DIR}/kdevfullscreen ) + + +##### libkdevfullscreen (module) ################ + +tde_add_kpart( libkdevfullscreen AUTOMOC + SOURCES fullscreen_part.cpp + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/grepview/CMakeLists.txt b/parts/grepview/CMakeLists.txt new file mode 100644 index 00000000..88f421a0 --- /dev/null +++ b/parts/grepview/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_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${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 kdevgrepview.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevgrepview.rc DESTINATION ${DATA_INSTALL_DIR}/kdevgrepview ) + + +##### libkdevgrepview (module) ################## + +tde_add_kpart( libkdevgrepview AUTOMOC + SOURCES + grepviewpart.cpp grepviewwidget.cpp grepdlg.cpp + LINK + kdevwidgets-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/konsole/CMakeLists.txt b/parts/konsole/CMakeLists.txt new file mode 100644 index 00000000..5b5a53aa --- /dev/null +++ b/parts/konsole/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 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevkonsoleview.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libkdevkonsoleview (module) ############### + +tde_add_kpart( libkdevkonsoleview AUTOMOC + SOURCES konsoleviewpart.cpp + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/openwith/CMakeLists.txt b/parts/openwith/CMakeLists.txt new file mode 100644 index 00000000..e5c4a707 --- /dev/null +++ b/parts/openwith/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 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevopenwith.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libkdevopenwith (module) ################## + +tde_add_kpart( libkdevopenwith AUTOMOC + SOURCES openwithpart.cpp + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/outputviews/CMakeLists.txt b/parts/outputviews/CMakeLists.txt new file mode 100644 index 00000000..1c676d9a --- /dev/null +++ b/parts/outputviews/CMakeLists.txt @@ -0,0 +1,69 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions/dcop + ${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 + kdevappoutputview.desktop kdevmakeview.desktop + DESTINATION ${SERVICES_INSTALL_DIR} ) + +install( FILES + kdevmakeview.rc + DESTINATION ${DATA_INSTALL_DIR}/kdevappoutputview ) + +install( FILES + kdevmakeview.rc + DESTINATION ${DATA_INSTALL_DIR}/kdevmakeview ) + + +##### libkdevmakeview (module) ################## + +tde_add_kpart( libkdevmakeview AUTOMOC + SOURCES + makeviewpart.cpp makewidget.cpp + directorystatusmessagefilter.cpp outputfilter.cpp + compileerrorfilter.cpp commandcontinuationfilter.cpp + makeitem.cpp makeactionfilter.cpp otherfilter.cpp + LINK + kdevdcopextensions-static kdevextensions-static + kdevwidgets-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### libkdevappview (module) ################### + +tde_add_kpart( libkdevappview AUTOMOC + SOURCES + appoutputviewpart.cpp appoutputwidget.cpp filterdlg.ui + LINK + kdevdcopextensions-static kdevextensions-static + kdevwidgets-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/partexplorer/CMakeLists.txt b/parts/partexplorer/CMakeLists.txt new file mode 100644 index 00000000..0b3e6a3a --- /dev/null +++ b/parts/partexplorer/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 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevpartexplorer.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevpartexplorer.rc DESTINATION ${DATA_INSTALL_DIR}/kdevpartexplorer ) + + +##### libkdevpartexplorer (module) ############## + +tde_add_kpart( libkdevpartexplorer AUTOMOC + SOURCES + partexplorerformbase.ui partexplorerform.cpp + partexplorer_plugin.cpp + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/quickopen/CMakeLists.txt b/parts/quickopen/CMakeLists.txt new file mode 100644 index 00000000..b67f2c4f --- /dev/null +++ b/parts/quickopen/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_definitions( ${KDE_PLUGIN} ) + +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 kdevquickopen.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevpart_quickopen.rc DESTINATION ${DATA_INSTALL_DIR}/kdevquickopen ) + + +##### libkdevquickopen (module) ################# + +tde_add_kpart( libkdevquickopen AUTOMOC + SOURCES + quickopen_part.cpp quickopendialog.cpp + quickopenclassdialog.cpp quickopenbase.ui + quickopenfiledialog.cpp quickopenfunctiondialog.cpp + quickopenfunctionchooseformbase.ui + quickopenfunctionchooseform.cpp + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/regexptest/CMakeLists.txt b/parts/regexptest/CMakeLists.txt new file mode 100644 index 00000000..4fb0909a --- /dev/null +++ b/parts/regexptest/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 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevregexptest.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevregexptest.rc DESTINATION ${DATA_INSTALL_DIR}/kdevregexptest ) + + +##### libkdevregexptest (module) ################ + +tde_add_kpart( libkdevregexptest AUTOMOC + SOURCES + regexptestpart.cpp regexptestdlg.cpp regexptestdlgbase.ui + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/replace/CMakeLists.txt b/parts/replace/CMakeLists.txt new file mode 100644 index 00000000..ee643391 --- /dev/null +++ b/parts/replace/CMakeLists.txt @@ -0,0 +1,41 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevreplace.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevpart_replace.rc DESTINATION ${DATA_INSTALL_DIR}/kdevreplace ) + + +##### libkdevreplace (module) ################### + +tde_add_kpart( libkdevreplace AUTOMOC + SOURCES + replace_part.cpp replace_widget.cpp replacedlg.ui + replaceitem.cpp replaceview.cpp replacedlgimpl.cpp + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/scripting/CMakeLists.txt b/parts/scripting/CMakeLists.txt new file mode 100644 index 00000000..c4ea4ea2 --- /dev/null +++ b/parts/scripting/CMakeLists.txt @@ -0,0 +1,41 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevscripting.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevscripting.rc DESTINATION ${DATA_INSTALL_DIR}/kdevscripting ) + + +##### libkdevscripting (module) ################# + +tde_add_kpart( libkdevscripting AUTOMOC + SOURCES + scriptingpart.cpp scriptingglobalconfigbase.ui + scriptingglobalconfig.cpp + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/snippet/CMakeLists.txt b/parts/snippet/CMakeLists.txt new file mode 100644 index 00000000..5eead63d --- /dev/null +++ b/parts/snippet/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_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevsnippet.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevpart_snippet.rc DESTINATION ${DATA_INSTALL_DIR}/kdevsnippet ) + + +##### libkdevsnippet (module) ################### + +tde_add_kpart( libkdevsnippet AUTOMOC + SOURCES + snippet_part.cpp snippet_widget.cpp snippetdlg.ui + snippetitem.cpp snippetsettingsbase.ui snippetsettings.cpp + snippetconfig.cpp + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/texttools/CMakeLists.txt b/parts/texttools/CMakeLists.txt new file mode 100644 index 00000000..7ffd1777 --- /dev/null +++ b/parts/texttools/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 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevtexttools.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libkdevtexttools (module) ################# + +tde_add_kpart( libkdevtexttools AUTOMOC + SOURCES texttoolspart.cpp texttoolswidget.cpp + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/tipofday/CMakeLists.txt b/parts/tipofday/CMakeLists.txt new file mode 100644 index 00000000..fa563205 --- /dev/null +++ b/parts/tipofday/CMakeLists.txt @@ -0,0 +1,41 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +tde_install_icons( ) +install( FILES kdevtipofday.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES tips DESTINATION ${DATA_INSTALL_DIR}/kdevtipofday ) +install( FILES kdevpart_tipofday.rc DESTINATION ${DATA_INSTALL_DIR}/kdevtipofday ) + + +##### libkdevtipofday (module) ################## + +tde_add_kpart( libkdevtipofday AUTOMOC + SOURCES tipofday_part.cpp + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/tools/CMakeLists.txt b/parts/tools/CMakeLists.txt new file mode 100644 index 00000000..b95191aa --- /dev/null +++ b/parts/tools/CMakeLists.txt @@ -0,0 +1,43 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/util + ${CMAKE_SOURCE_DIR}/parts/tools + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevtools.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevpart_tools.rc DESTINATION ${DATA_INSTALL_DIR}/kdevtools ) + + +##### libkdevtools (module) ##################### + +tde_add_kpart( libkdevtools AUTOMOC + SOURCES + tools_part.cpp toolsconfig.cpp toolsconfigwidgetbase.ui + toolsconfigwidget.cpp kapplicationtree.cpp addtooldlg.ui + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/uimode/CMakeLists.txt b/parts/uimode/CMakeLists.txt new file mode 100644 index 00000000..d09115b8 --- /dev/null +++ b/parts/uimode/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 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevuichooser.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libkdevuichooser (module) ################# + +tde_add_kpart( libkdevuichooser AUTOMOC + SOURCES + uichooser_part.cpp uichooser.ui uichooser_widget.cpp + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/valgrind/CMakeLists.txt b/parts/valgrind/CMakeLists.txt new file mode 100644 index 00000000..082c44ad --- /dev/null +++ b/parts/valgrind/CMakeLists.txt @@ -0,0 +1,41 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevvalgrind.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevpart_valgrind.rc DESTINATION ${DATA_INSTALL_DIR}/kdevvalgrind ) + + +##### libkdevvalgrind (module) ################## + +tde_add_kpart( libkdevvalgrind AUTOMOC + SOURCES + dialog_widget.ui valgrind_part.cpp valgrind_widget.cpp + valgrind_dialog.cpp valgrinditem.cpp + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/vcsmanager/CMakeLists.txt b/parts/vcsmanager/CMakeLists.txt new file mode 100644 index 00000000..48d5a6d9 --- /dev/null +++ b/parts/vcsmanager/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 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevvcsmanager.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libkdevvcsmanager (module) ################ + +tde_add_kpart( libkdevvcsmanager AUTOMOC + SOURCES + vcsmanagerpart.cpp vcsmanagerprojectconfigbase.ui + vcsmanagerprojectconfig.cpp + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/pics/CMakeLists.txt b/pics/CMakeLists.txt new file mode 100644 index 00000000..86210480 --- /dev/null +++ b/pics/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( mini ) +add_subdirectory( toolbar ) +add_subdirectory( misc ) + +tde_install_icons( ) diff --git a/pics/mini/CMakeLists.txt b/pics/mini/CMakeLists.txt new file mode 100644 index 00000000..143ea8d3 --- /dev/null +++ b/pics/mini/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 +# +################################################# + +install( FILES + CTchildren.png CTclients.png CTparents.png CTsuppliers.png + CTvirtuals.png CVclass.png CVglobal_meth.png + CVglobal_var.png CVnamespace.png CVprivate_meth.png + CVprivate_signal.png CVprivate_slot.png CVprivate_var.png + CVprotected_meth.png CVprotected_signal.png + CVprotected_slot.png CVprotected_var.png CVpublic_meth.png + CVpublic_signal.png CVpublic_slot.png CVpublic_var.png + CVstruct.png CVpackage_meth.png CVpackage_var.png + CVtypedef.png + DESTINATION ${DATA_INSTALL_DIR}/kdevclassview/pics ) diff --git a/pics/misc/CMakeLists.txt b/pics/misc/CMakeLists.txt new file mode 100644 index 00000000..87307d0c --- /dev/null +++ b/pics/misc/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 + kdevelop-splash.png kdevassistant-splash.png + kdevdesigner-splash.png + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/pics ) diff --git a/pics/toolbar/CMakeLists.txt b/pics/toolbar/CMakeLists.txt new file mode 100644 index 00000000..78419425 --- /dev/null +++ b/pics/toolbar/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 +# +################################################# + +tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kdevelop/icons ) + +tde_install_icons( + dbgnext dbgwatchvar dbgrun dbgstepout dbgmemview dbgparam + dbgrunto dbgstep dbgnextinst dbgrestart dbgstepinst dbgvar + debugger dbgjumpto + DESTINATION ${DATA_INSTALL_DIR}/kdevdebugger/icons ) + +tde_install_icons( + classnew classwiz + DESTINATION ${DATA_INSTALL_DIR}/kdevcppsupport/icons ) + +tde_install_icons( + dbgnext dbgrun dbgstepout dbgrunto dbgstep dbgrestart + debugger + DESTINATION ${DATA_INSTALL_DIR}/kdevrbdebugger/icons ) + +tde_install_icons( + grep + DESTINATION ${DATA_INSTALL_DIR}/kdevgrepview/icons ) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 00000000..21b1e75a --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,98 @@ +################################################# +# +# (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( profiles ) +add_subdirectory( profileengine ) +add_subdirectory( newui ) +add_subdirectory( kconf_update ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_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/widgets + ${CMAKE_SOURCE_DIR}/lib/util + ${CMAKE_SOURCE_DIR}/src/profileengine/lib + ${CMAKE_SOURCE_DIR}/src/newui + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES + api.h core.h documentationpart.h editorproxy.h + generalinfowidget.h languageselectwidget.h + mainwindowshare.h partcontroller.h plugincontroller.h + projectmanager.h projectsession.h shellextension.h + splashscreen.h statusbar.h toplevel.h + ${CMAKE_CURRENT_BINARY_DIR}/generalinfowidgetbase.h + ${CMAKE_CURRENT_BINARY_DIR}/mimewarningdialog.h + ${CMAKE_CURRENT_BINARY_DIR}/settingswidget.h + simplemainwindow.h multibuffer.h + DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/shell ) + + +##### other data ################################ + +install( FILES kdevelopui.rc eventsrc DESTINATION ${DATA_INSTALL_DIR}/kdevelop ) +install( FILES kdeveloprc kdevassistantrc DESTINATION ${CONFIG_INSTALL_DIR} ) +install( FILES kdevassistantui.rc DESTINATION ${DATA_INSTALL_DIR}/kdevassistant ) +install( FILES projectprofiles DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles ) + + +##### kdevelop (executable) ##################### + +tde_add_executable( kdevelop + SOURCES + main.cpp kdevideextension.cpp settingswidget.ui + LINK kdevshell-shared + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### kdevassistant (executable) ################ + +tde_add_executable( kdevassistant + SOURCES + main_assistant.cpp kdevassistantextension.cpp + LINK kdevshell-shared + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### kdevshell (shared) ######################## + +tde_add_library( kdevshell SHARED AUTOMOC + SOURCES + api.cpp core.cpp documentationpart.cpp editorproxy.cpp + generalinfowidget.cpp generalinfowidgetbase.ui + languageselectwidget.cpp mainwindowshare.cpp + mimewarningdialog.ui multibuffer.cpp partcontroller.cpp + plugincontroller.cpp pluginselectdialog.cpp + pluginselectdialog.h pluginselectdialogbase.ui + projectmanager.cpp projectsession.cpp shellextension.cpp + simplemainwindow.cpp splashscreen.cpp statusbar.cpp + toplevel.cpp + VERSION 0.0.0 + LINK + kdevutil-static d-static kinterfacedesigner-static + profileengine-shared kdevelop-shared kdevwidgets-shared + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/src/kconf_update/CMakeLists.txt b/src/kconf_update/CMakeLists.txt new file mode 100644 index 00000000..a374f34a --- /dev/null +++ b/src/kconf_update/CMakeLists.txt @@ -0,0 +1,32 @@ +################################################# +# +# (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( + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdev-gen-settings.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} ) + + +##### kdev-gen-settings-kconf_update (executable) + +tde_add_executable( kdev-gen-settings-kconf_update + SOURCES kdev-gen-settings-kconf_update.cpp + LINK ${TQT_LIBRARIES} + DESTINATION ${LIB_INSTALL_DIR}/kconf_update_bin +) diff --git a/src/newui/CMakeLists.txt b/src/newui/CMakeLists.txt new file mode 100644 index 00000000..b65bff6a --- /dev/null +++ b/src/newui/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 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + + +##### d (static) ################################ + +tde_add_library( d STATIC_PIC AUTOMOC + SOURCES + dmainwindow.cpp buttonbar.cpp button.cpp ddockwindow.cpp + docksplitter.cpp dtabwidget.cpp +) diff --git a/src/profileengine/CMakeLists.txt b/src/profileengine/CMakeLists.txt new file mode 100644 index 00000000..635317f0 --- /dev/null +++ b/src/profileengine/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( lib ) +add_subdirectory( editor ) diff --git a/src/profileengine/editor/CMakeLists.txt b/src/profileengine/editor/CMakeLists.txt new file mode 100644 index 00000000..ddc82809 --- /dev/null +++ b/src/profileengine/editor/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}/src/profileengine/lib + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### kdevprofileeditor (executable) ############ + +tde_add_executable( kdevprofileeditor + SOURCES main.cpp + LINK profileeditor-static profileengine-shared kio-shared + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### profileeditor (static) #################### + +tde_add_library( profileeditor STATIC AUTOMOC + SOURCES + profileeditorbase.ui profileeditor.cpp addprofilewidget.ui +) diff --git a/src/profileengine/lib/CMakeLists.txt b/src/profileengine/lib/CMakeLists.txt new file mode 100644 index 00000000..f6cad526 --- /dev/null +++ b/src/profileengine/lib/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_SOURCE_DIR}/lib/interfaces + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES + profileengine.h profile.h + DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/shell/profileengine ) + + +##### profileengine (shared) #################### + +tde_add_library( profileengine SHARED + SOURCES profileengine.cpp profile.cpp + VERSION 0.0.0 + LINK kio-shared + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/src/profiles/CMakeLists.txt b/src/profiles/CMakeLists.txt new file mode 100644 index 00000000..b475eba3 --- /dev/null +++ b/src/profiles/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( IDE ) +add_subdirectory( KDevAssistant ) + +install( FILES profile.config DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles ) diff --git a/src/profiles/IDE/CMakeLists.txt b/src/profiles/IDE/CMakeLists.txt new file mode 100644 index 00000000..d289d2ca --- /dev/null +++ b/src/profiles/IDE/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( CompiledLanguageIDE ) +add_subdirectory( ScriptingLanguageIDE ) +add_subdirectory( DatabaseIDE ) + +install( FILES + profile.config + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE ) diff --git a/src/profiles/IDE/CompiledLanguageIDE/AdaIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/AdaIDE/CMakeLists.txt new file mode 100644 index 00000000..23cb53a2 --- /dev/null +++ b/src/profiles/IDE/CompiledLanguageIDE/AdaIDE/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 + profile.config + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE/AdaIDE ) diff --git a/src/profiles/IDE/CompiledLanguageIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/CMakeLists.txt new file mode 100644 index 00000000..f6ce3450 --- /dev/null +++ b/src/profiles/IDE/CompiledLanguageIDE/CMakeLists.txt @@ -0,0 +1,21 @@ +################################################# +# +# (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( CandCppIDE ) +add_subdirectory( JavaIDE ) +add_subdirectory( AdaIDE ) +add_subdirectory( FortranIDE ) +add_subdirectory( HaskellIDE ) +add_subdirectory( PascalIDE ) + +install( FILES + profile.config + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE ) diff --git a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CIDE/CMakeLists.txt new file mode 100644 index 00000000..8894b7f2 --- /dev/null +++ b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CIDE/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 + profile.config + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CIDE ) diff --git a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CMakeLists.txt new file mode 100644 index 00000000..de60dc53 --- /dev/null +++ b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/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 +# +################################################# + +add_subdirectory( CIDE ) +add_subdirectory( CppIDE ) + +install( FILES + profile.config + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE ) diff --git a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/CMakeLists.txt new file mode 100644 index 00000000..988500e7 --- /dev/null +++ b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/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( KDECppIDE ) + +install( FILES + profile.config + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE ) diff --git a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE/CMakeLists.txt new file mode 100644 index 00000000..ada93dc8 --- /dev/null +++ b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE/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 + profile.config + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE ) diff --git a/src/profiles/IDE/CompiledLanguageIDE/FortranIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/FortranIDE/CMakeLists.txt new file mode 100644 index 00000000..10015e01 --- /dev/null +++ b/src/profiles/IDE/CompiledLanguageIDE/FortranIDE/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 + profile.config + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE/FortranIDE ) diff --git a/src/profiles/IDE/CompiledLanguageIDE/HaskellIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/HaskellIDE/CMakeLists.txt new file mode 100644 index 00000000..62abe7a8 --- /dev/null +++ b/src/profiles/IDE/CompiledLanguageIDE/HaskellIDE/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 + profile.config + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE/HaskellIDE ) diff --git a/src/profiles/IDE/CompiledLanguageIDE/JavaIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/JavaIDE/CMakeLists.txt new file mode 100644 index 00000000..fb445df5 --- /dev/null +++ b/src/profiles/IDE/CompiledLanguageIDE/JavaIDE/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 + profile.config + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE/JavaIDE ) diff --git a/src/profiles/IDE/CompiledLanguageIDE/PascalIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/PascalIDE/CMakeLists.txt new file mode 100644 index 00000000..8917e32f --- /dev/null +++ b/src/profiles/IDE/CompiledLanguageIDE/PascalIDE/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 + profile.config + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE/PascalIDE ) diff --git a/src/profiles/IDE/DatabaseIDE/CMakeLists.txt b/src/profiles/IDE/DatabaseIDE/CMakeLists.txt new file mode 100644 index 00000000..3079894b --- /dev/null +++ b/src/profiles/IDE/DatabaseIDE/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 + profile.config + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/DatabaseIDE ) diff --git a/src/profiles/IDE/ScriptingLanguageIDE/CMakeLists.txt b/src/profiles/IDE/ScriptingLanguageIDE/CMakeLists.txt new file mode 100644 index 00000000..c5599ed3 --- /dev/null +++ b/src/profiles/IDE/ScriptingLanguageIDE/CMakeLists.txt @@ -0,0 +1,20 @@ +################################################# +# +# (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( RubyIDE ) +add_subdirectory( PerlIDE ) +add_subdirectory( PHPIDE ) +add_subdirectory( PythonIDE ) +add_subdirectory( ShellIDE ) + +install( FILES + profile.config + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/ScriptingLanguageIDE ) diff --git a/src/profiles/IDE/ScriptingLanguageIDE/PHPIDE/CMakeLists.txt b/src/profiles/IDE/ScriptingLanguageIDE/PHPIDE/CMakeLists.txt new file mode 100644 index 00000000..70817f06 --- /dev/null +++ b/src/profiles/IDE/ScriptingLanguageIDE/PHPIDE/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 + profile.config + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/ScriptingLanguageIDE/PHPIDE ) diff --git a/src/profiles/IDE/ScriptingLanguageIDE/PerlIDE/CMakeLists.txt b/src/profiles/IDE/ScriptingLanguageIDE/PerlIDE/CMakeLists.txt new file mode 100644 index 00000000..c00b57c9 --- /dev/null +++ b/src/profiles/IDE/ScriptingLanguageIDE/PerlIDE/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 + profile.config + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/ScriptingLanguageIDE/PerlIDE ) diff --git a/src/profiles/IDE/ScriptingLanguageIDE/PythonIDE/CMakeLists.txt b/src/profiles/IDE/ScriptingLanguageIDE/PythonIDE/CMakeLists.txt new file mode 100644 index 00000000..0a56d3e6 --- /dev/null +++ b/src/profiles/IDE/ScriptingLanguageIDE/PythonIDE/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 + profile.config + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/ScriptingLanguageIDE/PythonIDE ) diff --git a/src/profiles/IDE/ScriptingLanguageIDE/RubyIDE/CMakeLists.txt b/src/profiles/IDE/ScriptingLanguageIDE/RubyIDE/CMakeLists.txt new file mode 100644 index 00000000..3890a913 --- /dev/null +++ b/src/profiles/IDE/ScriptingLanguageIDE/RubyIDE/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 + profile.config + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/ScriptingLanguageIDE/RubyIDE ) diff --git a/src/profiles/IDE/ScriptingLanguageIDE/ShellIDE/CMakeLists.txt b/src/profiles/IDE/ScriptingLanguageIDE/ShellIDE/CMakeLists.txt new file mode 100644 index 00000000..6fef335e --- /dev/null +++ b/src/profiles/IDE/ScriptingLanguageIDE/ShellIDE/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 + profile.config + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/ScriptingLanguageIDE/ShellIDE ) diff --git a/src/profiles/KDevAssistant/CMakeLists.txt b/src/profiles/KDevAssistant/CMakeLists.txt new file mode 100644 index 00000000..f71f9128 --- /dev/null +++ b/src/profiles/KDevAssistant/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 + profile.config + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/KDevAssistant ) diff --git a/vcs/CMakeLists.txt b/vcs/CMakeLists.txt new file mode 100644 index 00000000..8ec61b98 --- /dev/null +++ b/vcs/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 +# +################################################# + +tde_conditional_add_subdirectory( WITH_VCS_CLEARCASE clearcase ) +tde_conditional_add_subdirectory( WITH_VCS_CVSSERVICE cvsservice ) +tde_conditional_add_subdirectory( WITH_VCS_PERFORCE perforce ) +tde_conditional_add_subdirectory( WITH_VCS_SUBVERSION subversion ) diff --git a/vcs/clearcase/CMakeLists.txt b/vcs/clearcase/CMakeLists.txt new file mode 100644 index 00000000..8b6ae246 --- /dev/null +++ b/vcs/clearcase/CMakeLists.txt @@ -0,0 +1,41 @@ +################################################# +# +# (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( integrator ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevclearcase.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libkdevclearcase (module) ################# + +tde_add_kpart( libkdevclearcase AUTOMOC + SOURCES + clearcasepart.cpp commentdlg.cpp + clearcasefileinfoprovider.cpp clearcasemanipulator.cpp + LINK kdevextensions-static kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/vcs/clearcase/integrator/CMakeLists.txt b/vcs/clearcase/integrator/CMakeLists.txt new file mode 100644 index 00000000..bff7ebb3 --- /dev/null +++ b/vcs/clearcase/integrator/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/extensions + ${CMAKE_SOURCE_DIR}/lib/interfaces/extras + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevclearcaseintegrator.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libclearcaseintegrator (module) ########### + +tde_add_kpart( libclearcaseintegrator AUTOMOC + SOURCES + clearcaseintegrator.cpp ccintegratordlgbase.ui + ccintegratordlg.cpp + LINK kdevextras-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/vcs/cvsservice/CMakeLists.txt b/vcs/cvsservice/CMakeLists.txt new file mode 100644 index 00000000..a924f251 --- /dev/null +++ b/vcs/cvsservice/CMakeLists.txt @@ -0,0 +1,63 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +tde_message_fatal( "csvservice is not done yet" ) + +add_subdirectory( integrator ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + #${CMAKE_CURRENT_SOURCE_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/interfaces/extras + ${CMAKE_SOURCE_DIR}/lib/util + #${CMAKE_SOURCE_DIR} + #${CMAKE_SOURCE_DIR} + #${CMAKE_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +tde_install_icons( ) +install( FILES kdevcvsservice.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdev_cvs.png DESTINATION ${DATA_INSTALL_DIR}/kdevcvsservice/pics ) +install( FILES buildcvs.sh DESTINATION ${DATA_INSTALL_DIR}/kdevcvsservice ) + + +##### libkdevcvsservice (module) ################ + +tde_add_kpart( libkdevcvsservice AUTOMOC + SOURCES + cvspart.cpp cvspartimpl.cpp cvsformbase.ui cvsform.cpp + commitdialogbase.ui commitdlg.cpp cvsoptionswidgetbase.ui + cvsoptionswidget.cpp cvsprocesswidget.cpp + cvsentry.cpp cvsdir.cpp changelog.cpp cvsoptions.cpp + checkoutdialogbase.ui checkoutdialog.cpp tagdialog.cpp + tagdialogbase.ui diffdialogbase.ui diffdialog.cpp + releaseinputdialogbase.ui releaseinputdialog.cpp + cvslogdialog.cpp cvslogpage.cpp cvsdiffpage.cpp + diffwidget.cpp jobscheduler.cpp bufferedstringreader.cpp + cvsfileinfoprovider.cpp cvsservicedcopIface.skel + editorsdialogbase.ui editorsdialog.cpp annotatedialog.cpp + annotatepage.cpp annotateview.cpp + LINK kdevwidgets-shared kdevextensions-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/vcs/cvsservice/integrator/CMakeLists.txt b/vcs/cvsservice/integrator/CMakeLists.txt new file mode 100644 index 00000000..cd8366b0 --- /dev/null +++ b/vcs/cvsservice/integrator/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 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + #${CMAKE_CURRENT_SOURCE_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/interfaces/extras + #${CMAKE_SOURCE_DIR}/lib/util + #${CMAKE_SOURCE_DIR} + #${CMAKE_SOURCE_DIR} + #${CMAKE_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevcvsserviceintegrator.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libcvsserviceintegrator (module) ########## + +tde_add_kpart( libcvsserviceintegrator AUTOMOC + SOURCES + cvsserviceintegrator.cpp integratordlgbase.ui + fetcherdlgbase.ui integratordlg.cpp initdlg.ui + LINK + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/vcs/perforce/CMakeLists.txt b/vcs/perforce/CMakeLists.txt new file mode 100644 index 00000000..d7b514a0 --- /dev/null +++ b/vcs/perforce/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 +# +################################################# + +add_subdirectory( integrator ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevperforce.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libkdevperforce (module) ################## + +tde_add_kpart( libkdevperforce AUTOMOC + SOURCES perforcepart.cpp commitdlg.cpp + LINK kdevextensions-static kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/vcs/perforce/integrator/CMakeLists.txt b/vcs/perforce/integrator/CMakeLists.txt new file mode 100644 index 00000000..cd8fd0ee --- /dev/null +++ b/vcs/perforce/integrator/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/extensions + ${CMAKE_SOURCE_DIR}/lib/interfaces/extras + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevperforceintegrator.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libperforceintegrator (module) ############ + +tde_add_kpart( libperforceintegrator AUTOMOC + SOURCES + perforceintegrator.cpp pfintegratordlgbase.ui + pfintegratordlg.cpp + LINK kdevextras-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/vcs/subversion/CMakeLists.txt b/vcs/subversion/CMakeLists.txt new file mode 100644 index 00000000..0bd3bf76 --- /dev/null +++ b/vcs/subversion/CMakeLists.txt @@ -0,0 +1,80 @@ +################################################# +# +# (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( integrator ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${APR_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES + kdevsubversion.desktop kdevsvn+file.protocol + kdevsvn+http.protocol kdevsvn+https.protocol + kdevsvn+ssh.protocol kdevsvn+svn.protocol + DESTINATION ${SERVICES_INSTALL_DIR} ) + +install( FILES + kdevsvnd.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/kded ) + + +##### libkdevsubversion (module) ################ + +tde_add_kpart( libkdevsubversion AUTOMOC + SOURCES + subversion_core.cpp subversion_fileinfo.cpp + subversion_fileinfo.skel subversion_part.cpp + subversion_widget.cpp subversiondiff.ui + subversionprojectwidget.ui svn_blamewidget.cpp + svn_co.ui svn_commitdlgbase.ui svn_copydlgwidget.ui + svn_copywidget.cpp svn_fileselectdlg_commit.cpp + svn_logviewoptiondlgbase.ui svn_logviewwidget.cpp + svn_mergeoptiondlgbase.ui svn_mergewidget.cpp + svn_switchdlgbase.ui svn_switchwidget.cpp + LINK kdevextensions-static kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### kio_kdevsvn (module) ###################### + +tde_add_kpart( kio_kdevsvn AUTOMOC + SOURCES + svn_kio.cpp + LINK kio-shared ${SVN_LIBRARIES} ${APR_LIBRARIES} + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### kded_kdevsvnd (module) #################### + +tde_add_kpart( kded_kdevsvnd AUTOMOC + SOURCES + commitdlg.cpp commitdlgbase.ui kdevsvnd.cpp kdevsvnd.skel + kdevsvnd_widgets.cpp svnssltrustpromptbase.ui + LINK kio-shared kdeinit_kded-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/vcs/subversion/integrator/CMakeLists.txt b/vcs/subversion/integrator/CMakeLists.txt new file mode 100644 index 00000000..4d1ab517 --- /dev/null +++ b/vcs/subversion/integrator/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/extensions + ${CMAKE_SOURCE_DIR}/lib/interfaces/extras + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevsubversionintegrator.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libsubversionintegrator (module) ########## + +tde_add_kpart( libsubversionintegrator AUTOMOC + SOURCES + subversionintegrator.cpp svnintegratordlgbase.ui + svnintegratordlg.cpp + LINK kdevextras-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) |