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

Ben Boeckel ben.boeckel at kitware.com
Tue Oct 14 16:42:18 EDT 2014


On Fri, Oct 03, 2014 at 20:00:00 +0200, Sylvain Joubert wrote:
> Unlike the rerun target which is manually added by the Ninja generator,
> the install and package targets are handled in a generic way by the 
> utility target generator.
> 
> Thus, handling these targets is not as straightforward as rerun.
> I'll keep digging a bit, maybe I can find a way to do it. ;-)

It should be possible to set a property on the target(s) when they are
created. Though…looking at the docs, it seems that there's no generic
JOB_POOL property for custom targets. When that property is implemented,
setting 'console' for these targets for Ninja should be simple enough.

--Ben



More information about the cmake-developers mailing list