diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2013-01-30 17:58:14 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2013-01-30 17:58:14 +0000 |
commit | d96d949cad87c7650300f74487e81a714f4df49a (patch) | |
tree | d51cf8f9c8e915aa7829791a90763509513f4e97 | |
parent | 19e448df800048314d2f54487c48a3b33231e291 (diff) |
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
-rw-r--r-- | docs/JSONCompilationDatabase.rst | 3 |
1 files changed, 3 insertions, 0 deletions
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 <http://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``. +For projects on Linux, there is an alternative to intercept compiler +calls with a tool called `Bear <https://github.com/rizsotto/Bear>`_. + Clang's tooling interface supports reading compilation databases; see the :doc:`LibTooling documentation <LibTooling>`. libclang and its python bindings also support this (since clang 3.2); see |