[cmake-developers] [PATCH] Ninja: Use 'console' pool for CMake re-run if possible
Sylvain Joubert
joubert.sy at gmail.com
Thu Oct 2 17:34:39 EDT 2014
Hi,
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
This is useful for projects that have a long and verbose CMake run step.
The idea is to get the output as soon as possible.
It also adds the generation of the minimal required version of Ninja in
the build.ninja file. The default version is 1.3 since the generator
uses features from that version. If the Ninja version is 1.5 or greater,
then the generator will use the 'console' pool and the build.ninja file
requires at least Ninja 1.5
Regards,
Sylvain
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Ninja-Use-console-pool-for-CMake-re-run-if-possible.patch
Type: text/x-patch
Size: 5378 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20141002/8a3625ae/attachment-0002.bin>
More information about the cmake-developers
mailing list