[CMake] Multiple Fortran modules, one library?
Maik Beckmann
beckmann.maik at googlemail.com
Wed Apr 23 16:01:25 EDT 2008
Am Mittwoch 23 April 2008 21:46:45 schrieb Jason Riedy:
> Say I have a line
> ADD_LIBRARY(c STATIC a.f b.f)
> where a.f produces module a, b.f produces module b and *uses*
> module a.
>
> Is this expected to work? Currently, cmake 2.6 doesn't detect
> the dependency between b.f and a.f.
Huh? That's strange!
Did you actually changed something meaningfull in a's module definition. If
you just bump it by i.e. adding an empty line, cmake doesn't rebuild b.f,
which is good.
-- Maik
More information about the CMake
mailing list