[clang] clang documentation: Update outdated CMake Ninja support mention (PR #215803)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 12 07:50:51 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Brice Decaestecker (NyuB)
<details>
<summary>Changes</summary>
CMake now supports CMAKE_EXPORT_COMPILE_COMMANDS for Ninja too.
---
Full diff: https://github.com/llvm/llvm-project/pull/215803.diff
1 Files Affected:
- (modified) clang/docs/JSONCompilationDatabase.md (+2-2)
``````````diff
diff --git a/clang/docs/JSONCompilationDatabase.md b/clang/docs/JSONCompilationDatabase.md
index 35fdea8fc3b1a..436e2ebd97e88 100644
--- a/clang/docs/JSONCompilationDatabase.md
+++ b/clang/docs/JSONCompilationDatabase.md
@@ -30,8 +30,8 @@ Clang has the ability to generate compilation database fragments via
fragments together between `[` and `]` to create a compilation database.
Currently [CMake](https://cmake.org) (since 2.8.5) supports generation
-of compilation databases for Unix Makefile builds (Ninja builds in the
-works) with the option `CMAKE_EXPORT_COMPILE_COMMANDS`.
+of compilation databases for `Unix Makefile` and `Ninja` builds with
+the option `CMAKE_EXPORT_COMPILE_COMMANDS`.
For projects on Linux, there is an alternative to intercept compiler
calls with a tool called [Bear](https://github.com/rizsotto/Bear).
``````````
</details>
https://github.com/llvm/llvm-project/pull/215803
More information about the cfe-commits
mailing list