diff --git a/clang/docs/JSONCompilationDatabase.rst b/clang/docs/JSONCompilationDatabase.rst --- a/clang/docs/JSONCompilationDatabase.rst +++ b/clang/docs/JSONCompilationDatabase.rst @@ -29,6 +29,10 @@ Supported Systems ================= +Clang has the ablity to generate compilation database fragments via +the :option:`-MJ argument >`. You can concatenate those +fragments together between ``[`` and ``]`` to create a compilation database. + Currently `CMake `_ (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``.