[CMake] Why is Ninja generator disabled by default?

David Cole david.cole at kitware.com
Mon May 21 10:39:51 EDT 2012


On Mon, May 21, 2012 at 9:01 AM, Bill Hoffman <bill.hoffman at kitware.com>wrote:

> On 5/20/2012 7:58 AM, Claus Klein wrote:
>
>>
>> So please, there is no reason to disable the ninja generator by default.
>>
>
>
> Sorry, until it actually works with full features I can not do that. OSX
> needs the frameworks and application bundles implemented.  Windows needs
> file level depends.  Too many projects depend on those features. I realized
> there are use cases that do not use those features on OSX, but if you are
> building any application on OSX natively that has a GUI it will not work
> without those features.
>
>
> -Bill
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/**
> opensource/opensource.html<http://www.kitware.com/opensource/opensource.html>
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/**CMake_FAQ<http://www.cmake.org/Wiki/CMake_FAQ>
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/**listinfo/cmake<http://www.cmake.org/mailman/listinfo/cmake>
>


I agree with Bill here -- we cannot turn it on by default until it works
sufficiently for typical use cases.

For specialized use cases, if you know you want to turn it on, you can
easily re-build a CMake of your own that has it enabled. Simply turn on the
advanced cache option CMAKE_ENABLE_NINJA when configuring CMake.


HTH,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120521/8a842534/attachment-0001.htm>


More information about the CMake mailing list