[CMake] ccmake and fortran

Arjen Markus arjen.markus at wldelft.nl
Mon Aug 14 10:43:11 EDT 2006


William A. Hoffman wrote:

>Can we just have the rule for both?   Basically, anything after a c should be a comment?
>If it is old fixed format fortran it won't have modules anyway, and should have no depends.
>So, if it finds too many comments because of a stray c in the code it won't hurt.
>  
>
Pre-Fortran 90 fixed form Fortran can have dependencies too: include files.

But I would say: the first rule is safe enough - look at the extension 
to decide what
form the source code has. That should make life a lot easier.

Regards,

Arjen


More information about the CMake mailing list