[cmake-developers] Supported targets with the ninja generator ?

Nicolas Desprès nicolas.despres at gmail.com
Fri May 4 08:35:07 EDT 2012


On Thu, Apr 19, 2012 at 5:11 PM, Nicolas Desprès
<nicolas.despres at gmail.com> wrote:
> 2012/4/5 Nicolas Desprès <nicolas.despres at gmail.com>:
>> On Thu, Apr 5, 2012 at 9:44 PM, David Cole <david.cole at kitware.com> wrote:
> [...]
>>>
>>> It would be very simple to add a "clean" target that simply executes
>>> "ninja -t clean" as a custom command, if the ninja generator guys
>>> think that's a reasonable idea to keep things similar to the Makefiles
>>> generator.
>>
>> Sounds reasonnable.
>>
>
> I have just pushed on my GitHub CMake fork a branch called
> 'ninja_convenience_targets' that implement that:
> https://github.com/polrop/CMake/commits/ninja_convenience_targets
>

I know this branch does not solved all the issues mentioned in this
thread but it is a good start. Could somebody have a look at them
David please?

@alex This is not Ninja philosophy to add such target name so I have
added them only because you ask for them for Eclipse. I hope they will
help you. For your information, I have tried (without any hope) to add
them to Ninja it self (https://github.com/martine/ninja/pull/275 and
https://github.com/martine/ninja/pull/276) but they have been
rejected.

Thanks,

-- 
Nicolas Desprès



More information about the cmake-developers mailing list