Review Request 127638: build system option to build "kdev-clang" and the rest of the IDE separately

René J.V. Bertin rjvbertin at
Tue Apr 12 16:34:17 UTC 2016

This is an automatically generated e-mail. To reply, visit:

Review request for KDE Software on Mac OS X and KDevelop.

Repository: kdevelop


This patch is in reaction to a discussion on kdevelop-devel about weakening KDevelop's dependency on a specific Clang (libclang) version.

The patch introduces 2 CMake options:
- `KDEVELOP_BUILD_IDE` builds just the IDE, without the clang-based parser (formerly kdev-clang)
- `KDEVELOP_BUILD_CLANG_PARSER` builds just the clang-based parser

Nothing changes when both options are on (the default): all of KDevelop is built. When both options are off, an error is raised.

The idea is that this should make it a little bit easier for distributions/packaging systems and users to change the clang toolchain.

I presume that the languages subdirectory could be built first or last (that would the patch a bit simpler)?


  CMakeLists.txt 2d3faa7 
  languages/CMakeLists.txt 4e2fde2 
  languages/clang/CMakeLists.txt c19a951 



On OS X and Linux, against Qt 5.6.0, FWs 5.20.0, prefix=/opt/local


René J.V. Bertin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the KDevelop-devel mailing list