[CMake] CMake 2.6.2, Xcode and Fortran...

Bill Hoffman bill.hoffman at kitware.com
Wed Oct 15 08:29:18 EDT 2008


Carminati Federico wrote:
> Hello,
>    I am very interested in this issue and I have done some tests. There 
> is a problem with cmake (see 
> http://public.kitware.com/Bug/view.php?id=7389), where fortran flags are 
> assigned to C compiler during Xcode generation. There is another "more 
> obscure" problem (see http://public.kitware.com/Bug/view.php?id=7591). 
> If I install the gfortran plugin 
> (http://maxao.free.fr/xcode-fortran-plugin/) then somehow, while 
> validating the compiler during the generation of Xcode, CMake decides to 
> use some non-existing linker. Bill says it is not with cmake, so I have 
> contacted the plugin author, as Bill suggested.
>     I believe a possible step forward would be to disable the plugin 
> (renaming is enough), generate the xcode project, re-enable the plugin 
> and try. However the first bug prevents me from trying this because I 
> need some special flags in my project. Best regards,
> 

I would suggest trying a project with only one single fortran file, and 
only enabling the Fortran language.   That should help isolate issues.

-Bill


More information about the CMake mailing list