[cfe-commits] Design proposal: Add custom compilation database formats as plugins

Stephen Kelly steveire at gmail.com
Thu Jul 19 04:10:30 PDT 2012


Chandler Carruth wrote:

> That said, the latest version of CMake already has support for JSON +
> Ninja -- we didn't contribute it, so I don't know what strategy they
> followed, but you should look at that and talk to the ninja and CMake
> developers before going too far here.
> 

I wrote it and pretty much followed the same thing Manuel did in the 
Makefile generator.

The commit which actually adds the feature is trivial:

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=db839bec7d076b54c5e9ad0d19386a26557a509e

Manuel mentioned before that he'd like to see ninja being able to generate a 
database without cmake too though:

http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/3678/focus=3697

As Chandler said, it's not in a release yet, but will be in the next release 
in a few weeks. Feel free to test the release candidate (I would appreciate 
if you did)

http://www.kitware.com/blog/home/post/334

Just for context and information :)

Steve.




More information about the cfe-commits mailing list