[CMake] Fortran 90 module dependencies problem

raffaele borrelli rborrelli at gmail.com
Wed Nov 8 05:48:24 EST 2006


Hi,
I am quite new to cmake but I am trying to move all my Fortran projects from
standard
Makefile to cmake.
Currently I am facing the following problem.
I have a file xx.f90 which use a module declared in file yy.f90;
yy.f90 is not in the same directory as xx.f90.
The directory tree is like follows:
/project
/project/src/xx.f90
/project/lib/yy.f90

I build first yy.f90, and then xx.f90, however when compiling xx.f90
it complains that there are no rules to build yy.mod.proxy.
How can I tell cmake that the module has already been build and it
must not look for that dependency?

Thanks,
Lello.


-- 
Raffaele Borrelli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20061108/bfb22c41/attachment.htm


More information about the CMake mailing list