Commit bd9d1e30 authored by Kevin Funk's avatar Kevin Funk

Restructure kdevelop.git layout

As discussed on the mailing list:
  https://mail.kde.org/pipermail/kdevelop-devel/2017-September/058823.html

Move all plugins into a single folder:
- $CATEGORY/$PLUGINFOLDER -> plugins/$PLUGINFOLDER
- kdevplatform/plugins/$PLUGINFOLDER -> plugins/$PLUGINFOLDER
parent 4363dd42

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

......@@ -124,21 +124,12 @@ endif()
configure_file(config-kdevelop.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kdevelop.h)
add_subdirectory(kdevplatform)
add_subdirectory(plugins)
add_subdirectory(pics)
add_subdirectory(app)
add_subdirectory(analyzers)
add_subdirectory(formatters)
add_subdirectory(languages)
add_subdirectory(projectbuilders)
add_subdirectory(projectmanagers)
add_subdirectory(debuggers)
add_subdirectory(app_templates)
add_subdirectory(documentation)
add_subdirectory(kdeintegration)
add_subdirectory(utils)
add_subdirectory(file_templates)
add_subdirectory(providers)
add_subdirectory(runtimes)
add_subdirectory(shortcuts)
add_subdirectory(doc)
......
add_subdirectory(cppcheck)
add_subdirectory(heaptrack)
include_directories(common)
include_directories(${CMAKE_CURRENT_BINARY_DIR}) # for config files in common
if(NOT WIN32)
# TODO: Make compile under Windows
add_subdirectory(common)
add_subdirectory(lldb)
add_subdirectory(gdb)
endif()
ecm_optional_add_subdirectory(executeplasmoid)
......@@ -59,7 +59,6 @@ add_subdirectory(template)
if(BUILD_TESTING)
add_subdirectory(tests)
endif()
add_subdirectory(plugins)
set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KDevPlatform")
......
SKIP /cpp/app_templates/
ecm_optional_add_subdirectory(plugins)
ecm_optional_add_subdirectory(qmljs)
find_package(Clang 3.8)
set(clangSearchHint "")
if (NOT CLANG_FOUND)
set(clangSearchHint "Please install a package providing libclang. Either pass -DLLVM_ROOT=/path/to/llvm-prefix or install the 'llvm-config' command-line utility for auto-detection.")
endif()
set_package_properties(Clang PROPERTIES
DESCRIPTION "Clang libraries from the LLVM project. ${clangSearchHint}"
PURPOSE "Used for KDevelop's C++/C support plugin."
TYPE REQUIRED
)
if (CLANG_FOUND)
if (NOT CLANG_LIBCLANG_LIB)
message(FATAL_ERROR "Could not find the Clang C library: libclang")
endif()
ecm_optional_add_subdirectory(clang)
endif()
# BEGIN: Analyzers
add_subdirectory(cppcheck)
add_subdirectory(heaptrack)
# END: Analyzers
# BEGIN: Debuggers
if(NOT WIN32)
# TODO: Make compile under Windows
add_subdirectory(debuggercommon)
add_subdirectory(lldb)
add_subdirectory(gdb)
endif()
# END: Debuggers
# BEGIN: Documentation
find_package(Qt5Help CONFIG)
set_package_properties(Qt5Help PROPERTIES
PURPOSE "The Help module for the Qt toolkit, needed for the qthelp plugin"
URL "https://www.qt.io/"
TYPE OPTIONAL)
if(Qt5Help_FOUND)
ecm_optional_add_subdirectory(qthelp)
endif()
ecm_optional_add_subdirectory(manpage)
# END: Documentation
# BEGIN: Formatters
add_subdirectory(astyle)
add_subdirectory(customscript)
# END: Formatters
# BEGIN: Languages
ecm_optional_add_subdirectory(plugins)
ecm_optional_add_subdirectory(qmljs)
find_package(Clang 3.8)
set(clangSearchHint "")
if (NOT CLANG_FOUND)
set(clangSearchHint "Please install a package providing libclang. Either pass -DLLVM_ROOT=/path/to/llvm-prefix or install the 'llvm-config' command-line utility for auto-detection.")
endif()
set_package_properties(Clang PROPERTIES
DESCRIPTION "Clang libraries from the LLVM project. ${clangSearchHint}"
PURPOSE "Used for KDevelop's C++/C support plugin."
TYPE REQUIRED
)
if (CLANG_FOUND)
if (NOT CLANG_LIBCLANG_LIB)
message(FATAL_ERROR "Could not find the Clang C library: libclang")
endif()
ecm_optional_add_subdirectory(clang)
endif()
# END: Languages
# BEGIN: Project builders
add_subdirectory(makebuilder)
add_subdirectory(ninjabuilder)
ecm_optional_add_subdirectory(cmakebuilder)
if (KDevelop-PG-Qt_FOUND)
ecm_optional_add_subdirectory(qmakebuilder)
endif()
# END: Project builders
# BEGIN: Project managers
ecm_optional_add_subdirectory(cmake)
ecm_optional_add_subdirectory(custommake)
ecm_optional_add_subdirectory(custom-buildsystem)
if (KDevelop-PG-Qt_FOUND)
ecm_optional_add_subdirectory(qmakemanager)
endif()
ecm_optional_add_subdirectory(genericprojectmanager)
# END: Project managers
# BEGIN: Runtimes
add_subdirectory(android)
if (UNIX)
add_subdirectory(docker)
add_subdirectory(flatpak)
endif()
# END: Runtimes
# BEGIN: VCS
ecm_optional_add_subdirectory(bazaar)
ecm_optional_add_subdirectory(cvs)
ecm_optional_add_subdirectory(git)
ecm_optional_add_subdirectory(perforce)
find_package(SubversionLibrary)
set_package_properties(SubversionLibrary PROPERTIES
PURPOSE "Support for Subversion integration"
URL "http://subversion.tigris.org"
TYPE OPTIONAL)
if(SubversionLibrary_FOUND)
ecm_optional_add_subdirectory(subversion)
endif()
add_subdirectory(vcschangesview)
# END: VCS
# BEGIN: Others
ecm_optional_add_subdirectory(classbrowser)
ecm_optional_add_subdirectory(executeplasmoid)
ecm_optional_add_subdirectory(ghprovider)
ecm_optional_add_subdirectory(kdeprovider)
ecm_optional_add_subdirectory(konsole)
add_subdirectory(filemanager)
add_subdirectory(appwizard)
add_subdirectory(projectmanagerview)
add_subdirectory(genericprojectmanager)
add_subdirectory(standardoutputview)
add_subdirectory(documentview)
add_subdirectory(quickopen)
add_subdirectory(executescript)
add_subdirectory(contextbrowser)
ecm_optional_add_subdirectory(cvs)
add_subdirectory(problemreporter)
add_subdirectory(execute)
add_subdirectory(externalscript)
......@@ -17,14 +121,6 @@ add_subdirectory(sourceformatter)
add_subdirectory(patchreview)
add_subdirectory(openwith)
add_subdirectory(grepview)
ecm_optional_add_subdirectory(git)
ecm_optional_add_subdirectory(bazaar)
ecm_optional_add_subdirectory(perforce)
add_subdirectory(vcschangesview)
if (UNIX)
add_subdirectory(flatpak)
add_subdirectory(docker)
endif ()
add_subdirectory(filetemplates)
add_subdirectory(codeutils)
add_subdirectory(testview)
......@@ -35,14 +131,20 @@ if (Qt5QuickWidgets_FOUND)
endif()
add_subdirectory(outlineview)
ecm_optional_add_subdirectory(classbrowser)
find_package(SubversionLibrary)
set_package_properties(SubversionLibrary PROPERTIES
PURPOSE "Support for Subversion integration"
URL "http://subversion.tigris.org"
find_package(OktetaKastenControllers 0.3.1)
set_package_properties(OktetaKastenControllers PROPERTIES
PURPOSE "Required for building Okteta KDevelop plugin."
URL "http://kde.org/"
TYPE OPTIONAL)
if (OktetaKastenControllers_FOUND)
find_package( KastenControllers )
if(SubversionLibrary_FOUND)
ecm_optional_add_subdirectory(subversion)
set_package_properties(KastenControllers PROPERTIES
PURPOSE "Required for building Okteta KDevelop plugin."
URL "http://kde.org/"
TYPE OPTIONAL)
endif()
if (OktetaKastenControllers_FOUND AND KastenControllers_FOUND)
add_subdirectory(okteta)