[CMake] What are the missing features in Ninja that CMake needs?

Bill Hoffman bill.hoffman at kitware.com
Mon Dec 19 16:16:31 EST 2016


On 12/18/2016 8:57 AM, David Cole via CMake wrote:
> This "compare" view on GitHub shows the difference between the
> regular/upstream ninja and the Kitware patched ninja:
>
>     https://github.com/ninja-build/ninja/compare/master...Kitware:features-for-fortran
>
> The ReadMe explains the high-level view, and says it is gradually
> being worked into upstream ninja.
>
It has to do with Fortran modules. These are sort of "include" files 
that are automatically generated by the Fortran compiler.  So, there is 
a specific order in which Fortran source files must be compiled so that 
files that include exist before they try to include them.

For some examples see this cmake test case:

https://gitlab.kitware.com/cmake/cmake/tree/master/Tests/FortranModules

It will not pass with upstream ninja.

-Bill



More information about the CMake mailing list