[CMake] ccmake and fortran

Arjen Markus arjen.markus at wldelft.nl
Mon Aug 14 11:05:19 EDT 2006


William A. Hoffman wrote:

>At 10:43 AM 8/14/2006, Arjen Markus wrote:
>  
>
>>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.
>>    
>>
>
>But you are not going to have a include file that is after a c with any type of formatting,
>are you?
>  
>
No, the include statement is simple:
INCLUDE 'filename'

No variations.

Regards,

Arjen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20060814/5c3301b6/attachment.html


More information about the CMake mailing list