[cmake-developers] ninja bug

Bill Hoffman bill.hoffman at kitware.com
Mon Apr 23 09:52:51 EDT 2012


On 4/21/2012 7:37 AM, Peter Kümmel wrote:
>
> Great! Is this the step which will be dropped when the /fast target is build?
>
>
> Peter
No, that drops building all the dependent targets.


So, would it be possible to use CMake's depend generation with ninja? 
Right now ninja creates the .d files as part of the compilation.  Is it 
possible to move that to a separate pass?  Is it possible to have a per 
target .d file?

This is actually important for Fortran support, which right now is 
totally broken in ninja.  For Fortran, you have to parse all the files 
first to find out what order they need to be compiled in.  So, doing it 
on the compile line is too late.

-Bill



More information about the cmake-developers mailing list