[PATCH] Generate a clang CompilationDatabase when running CMake.

Justin Lebar via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 10 14:19:45 PST 2015


This generates a compile_commands.json file, which tells tools like
YouCompleteMe and clang_complete exactly how to build each source file.
---
 CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Generate-a-clang-CompilationDatabase-when-running-CM.patch
Type: text/x-patch
Size: 578 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151210/e87e018e/attachment.bin>


More information about the llvm-commits mailing list