From: Dmitri Gribenko Date: Wed, 30 Jan 2013 17:58:14 +0000 (+0000) Subject: Documentation: add a link to Bear, a tool to help with JSON DB X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d96d949cad87c7650300f74487e81a714f4df49a;p=clang Documentation: add a link to Bear, a tool to help with JSON DB Patch by Laszlo Nagy git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173949 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/JSONCompilationDatabase.rst b/docs/JSONCompilationDatabase.rst index c5852ebfb5..bb008845ed 100644 --- a/docs/JSONCompilationDatabase.rst +++ b/docs/JSONCompilationDatabase.rst @@ -33,6 +33,9 @@ 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``. +For projects on Linux, there is an alternative to intercept compiler +calls with a tool called `Bear `_. + Clang's tooling interface supports reading compilation databases; see the :doc:`LibTooling documentation `. libclang and its python bindings also support this (since clang 3.2); see