On 7/3/2012 2:00 AM, Maxim Kalaev wrote:
> Can't the solution be as for this one:
> https://groups.google.com/forum/#!topic/ninja-build/Zqygj8hQbdI
> <https://groups.google.com/forum/#%21topic/ninja-build/Zqygj8hQbdI>?
>
No that does not help. Fortran source files contain implicit
dependencies that affect the order of build required. They must
be scanned before even one source can be compiled. Is there a way to do
a scan of a file before it is compile, and then have ninja load the dep
file? I already have the fortran scanner, just need a way to hook it
into ninja.
Something like this:
- scan all fortran files and compute .dep files
- do the build of the fortran files in the order dictated by the scan