[CMake] Support for Compaq Visual Fortran?

Arjen Markus arjen.markus at wldelft.nl
Tue Aug 29 09:04:46 EDT 2006


Brad King wrote:

>Arjen Markus wrote:
>  
>
>>Hello,
>>
>>I have trouble getting CMake to recognise Compaq Visual Fortran
>>as a valid Fortran compiler under Windows.
>>
>>Philippe Poilbarbe sent me his configuration module for CVF, but
>>he also noted that there is another problem - CVF does not like
>>the default options used by TRY_COMPILE.
>>
>>I have been experimenting with an alternative for that command,
>>so that CMake will accept CVF. In principle this works (that is
>>the first step now accepts CVF), but I wonder if someone else
>>has done this already and what problems I may expect later on.
>>
>>The thing is:
>>- CVF does not recognise options like -o
>>- CVF does not accept forward slashes in file names
>>- There does not seem to be an option to set the name of the output file
>>    
>>
>
>You'll need to create a Modules/Platform/Windows-CVF.cmake file where
>"CVF" is replaced by the actual name of the compiler executable.  In
>other such platform files you'll find alternative settings for rules
>like CMAKE_Fortran_COMPILE_OBJECT.  Copy one of these and modify it to
>setup the rules for this compiler.
>
>If you get this working please post your results.
>
>Thanks,
>-Brad
>  
>
Well, that sounds promising ... I will see what I can do here.
CVF is an important compiler for me.

Regards,

Arjen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20060829/989c79b2/attachment.htm


More information about the CMake mailing list