[CMake] Re: -G KDevelop3 and Fortran
Alexander Neundorf
a.neundorf-work at gmx.net
Fri Aug 31 13:44:01 EDT 2007
On Friday 31 August 2007 09:22, Alin M Elena wrote:
> Hi Andreas,
>
> What do you mean with disaster? All I can see is that the primary
> language element is wrong, which can be easily corrected, just replace
> "C++" with Fortran77 (not sure wether different values work as well).
>
>
> Does the project build? I've seen some cmake macro for setting the
> language and would assume that CMake uses C/C++ as default unless you
> set something different.
>
> As you can see in the CMakeList.txt file that I attached to my previous
> email I set as language of the project Fortran (and only fortran). The
> generator when creates hello.kdevelop just ignores all the info about the
> compiler that you provide and sets it to some default values which happen
> to be C/C++. (Try setting a hello world cpp project and you will see that
> it works properly there).
>
> Of course the project compiles. all that kdevelop does is to invoke a
> make command and use the files generated in cmake . process or refresh
> them.
Please try cmake cvs, Fortran is now supported by the KDevelop generator. Let
me know if there are things missing.
Alex
More information about the CMake
mailing list