[cmake-developers] Ninja delayed dependency stat

Brad King brad.king at kitware.com
Wed Jun 11 08:34:08 EDT 2014


On 06/06/2014 01:20 PM, Brad King wrote:
> The fundamental problem is Ninja's stat-then-build design.
> They do have "restat" to declare that the output files should be
> re-checked after a rule is run.  We need a way to say that a
> rule's input dependencies should be restat-ed after its
> order-only dependencies are satisfied and up to date.

With a bit more information from project CMake code, it should
be possible to generate a working ninja build system.  See my
explanation here:

 Add explicit specification of custom command side effect outputs
 http://www.cmake.org/Bug/view.php?id=14963

-Brad




More information about the cmake-developers mailing list