On Fri, Jan 14, 2011 at 10:53 AM, Brad King <brad.k...@kitware.com> wrote:
> 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

Hm, I was actually going more for a bool option - I'd really like a
file name that's easily recognizable by a tool with minimal user
configuration. We can of course put in a second option with the file
name with a good default.

Cheers,
/Manuel

>>> 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.
_______________________________________________
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to