[CMake] Fortran 9x dependencies
Brad King
brad.king at kitware.com
Fri Sep 8 14:47:40 EDT 2006
Warren Turkal wrote:
> Is there a way to override the mechanism for finding dependencies?
No.
> I am trying to work around the crappy support for preprocessed Fortran
> dependency generation. See bug #2361 [1].
Unfortunately we do not have time to solve this problem ourselves right
now. Your time would probably be best spent on one of the following
CMake changes:
1.) Re-implement the dependency scanner to do full preprocessing.
2.) Add a way to override the dependency scanner with a custom
invocation that provides module dependencies and file dependencies in
its output.
We can help you get started if you want to try one of these (I prefer #1).
Fortran module dependencies require a "provides/requires" style of
generated dependencies. This is implemented in the Makefile generator
in CMake, so somehow the dependency scanning does need to provide
module-level dependencies independently from file-level dependencies
(#include).
-Brad
More information about the CMake
mailing list