Maik Beckmann wrote:
Am Mittwoch 23 April 2008 22:39:23 schrieb Jason Riedy:
Ok, the example I have up there *will* work because they're in
alphabetical order. However,
ADD_LIBRARY(c STATIC b.f90 a.f90)
will not if a uses b. a.f90 is built first.
In my actual code, the USE statements are in module procedures.
I tested with the USE in the module's declaration part. Both
are bust.
And I can't figure out how to declare file-level dependencies
without heavy-duty cheating.
cmake is has to get this dependencies right! Please code a minimal example
and do bug report.
This should work, and there are tests for this in the cmake test suite.
Perhaps you could provide b.f90 and a.f90. Note, Fortran stuff really
only works with cmake 2.6.0. What version of cmake are you using?
-Bill
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake