On Thu, Apr 19, 2012 at 5:11 PM, Nicolas Desprès <nicolas.desp...@gmail.com> wrote: > 2012/4/5 Nicolas Desprès <nicolas.desp...@gmail.com>: >> On Thu, Apr 5, 2012 at 9:44 PM, David Cole <david.c...@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 -- Powered by www.kitware.com Visit other Kitware open-source projects at 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 Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers