[cmake-developers] CTEST_USE_LAUNCHERS and Ninja

Brad King brad.king at kitware.com
Mon Oct 15 07:38:38 EDT 2012


On 10/14/2012 5:16 AM, Nicolas Desprès wrote:
> On Sun, Oct 14, 2012 at 4:38 AM, Mathias Gaunard
> <mathias.gaunard at ens-lyon.org <mailto:mathias.gaunard at ens-lyon.org>> wrote:
> 
>     CTEST_USE_LAUNCHERS is a feature that allows better reporting of
>     compilation errors to a dashboard.
>     Unfortunately, it only works with the Makefile generator.
> 
>     Since ninja is significantly faster and just plain better, I use
>     ninja on all the builders in my test farm.
> 
>     I'd like to know if there is any plan to add CTEST_USE_LAUNCHERS
>     support to Ninja.
>     If someone is willing to guide me (I have no idea how to do this and
>     this option seems barely documented), I can try to implement it.
> 
> You could try to compare the output of the Makefile generator test
> related to this feature and the Ninja generator one. If there is no test
> maybe a good start would be to add one.

The generator would need to support the RULE_LAUNCH_* global props:

 http://www.cmake.org/cmake/help/v2.8.9/cmake.html#prop_global:RULE_LAUNCH_COMPILE

if it doesn't already.

-Brad



More information about the cmake-developers mailing list