[CMake] Effort to create a new generator (tup)

Jed Brown jed at 59A2.org
Thu May 6 10:55:44 EDT 2010


On Thu, 6 May 2010 16:42:13 +0200, Michael Wild <themiwi at gmail.com> wrote:
> Looks like the Fortran 90 issue can be solved with "order-only" inputs:
> 
> a.f90 |> gfortran -c -o %o %f |> %f.o

This line also produces a.mod.

> b.f90 | a.f90 |> gfortran -c -o %o %f |> %f.o

Maybe you meant

  b.f90 | a.mod |> gfortran -c -o %o %f |> %f.o

Note that the dependency analysis also needs to be rerun when files
change because, e.g. editing a.f90 to include "use b" should create a
loop.  Yet another reason not to use fortran...

Jed


More information about the CMake mailing list