[PATCH] D50359: Add a new library, libclang-cxx

Kristina Brooks via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 12 12:29:44 PDT 2018


kristina added a comment.

To elaborate, consider a scenario where a customer wants to build the clang driver, `diagtool` and just for the sake of the argument `change-namespace` from extras. Clang tools do not provide nearly the same level of control as most LLVM tools, so in that scenario, you'd have to maintain your own CMakeLists.txt for clang `tools(/extra)` to neuter unwanted artifacts like clang-tidy or libclang.so (the C API re-exporter) etc.

Unless I deeply misunderstand the functionality of toggles within LLVM's main build system, the only way of neutering those artifacts while still being able to use `libclang-cxx.so` would be surgery on several CMakeLists.


Repository:
  rC Clang

https://reviews.llvm.org/D50359





More information about the cfe-commits mailing list