[PATCH] D116882: [docs] [clang] Small documentation change for compilation databases
Shoaib Meenai via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Jan 22 17:42:12 PST 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rGb8467952404c: [docs] [clang] Small documentation change for compilation databases (authored by croepha, committed by smeenai).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116882/new/
https://reviews.llvm.org/D116882
Files:
clang/docs/JSONCompilationDatabase.rst
Index: clang/docs/JSONCompilationDatabase.rst
===================================================================
--- clang/docs/JSONCompilationDatabase.rst
+++ clang/docs/JSONCompilationDatabase.rst
@@ -29,6 +29,10 @@
Supported Systems
=================
+Clang has the ablity to generate compilation database fragments via
+the :option:`-MJ argument <clang -MJ\<arg>>`. You can concatenate those
+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``.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116882.402275.patch
Type: text/x-patch
Size: 686 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220123/84af2370/attachment.bin>
More information about the cfe-commits
mailing list