[cmake-developers] Generating information for C++ tools in cmake (patch)

Brad King brad.king at kitware.com
Fri Jan 14 13:53:13 EST 2011


On 01/14/2011 01:28 PM, Manuel Klimek wrote:
> I'm fine with making it optional. Another option would be to make it
> hidden, as we want tools and not users to interact with it. Your call.

Actually, with an option then the file name becomes moot:

 $ cmake ... -DCMAKE_EXPORT_COMPILE_RULES=compile_commands.json

>> Okay.  Does JSON support any kind of schema?
> 
> Why would we need a schema? For documenation? Or do you plan to use
> meta-tools on it?

Just curious.  Pretty much every time I've ever written code that
generates a .xml file someone eventually comes along asking for
a schema.

-Brad



More information about the cmake-developers mailing list