[cmake-developers] [PATCH] Ninja: Use 'console' pool for CMake re-run if possible

Matthew Woehlke mw_triad at users.sourceforge.net
Thu Oct 2 18:08:07 EDT 2014


On 2014-10-02 17:34, Sylvain Joubert wrote:
> Since Ninja 1.5, a pre-defined pool 'console' can be used for non
> buffered output.
> See
> http://martine.github.io/ninja/manual.html#_the_literal_console_literal_pool
> 
> This patch specifies that special pool for the "build.ninja" build block
> if the Ninja version used is at least 1.5

I haven't tried it yet, but I've been wanting this feature; thanks for
the patch! Please see also
http://public.kitware.com/Bug/view.php?id=14915 which it sounds like
this (partly) fixes; you may want to reference that in your patch or
vice versa.

(The "partly" is that the request is also for the 'install' target to
use the console pool; not sure if you did that, want to tackle that,
etc., but in any case this is a step in the right direction.)

-- 
Matthew




More information about the cmake-developers mailing list