[KDE/Mac] Review Request 127638: build system option to build "kdev-clang" and the rest of the IDE separately

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


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127638/
-----------------------------------------------------------

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


Repository: kdevelop


Description
-------

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)?


Diffs
-----

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

Diff: https://git.reviewboard.kde.org/r/127638/diff/


Testing
-------

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


Thanks,

René J.V. Bertin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-mac/attachments/20160412/fcb21b7c/attachment.html>


More information about the kde-mac mailing list