[CMake] Re: -G KDevelop3 and Fortran

Alexander Neundorf a.neundorf-work at gmx.net
Mon Sep 17 09:37:06 EDT 2007


On Sunday 02 September 2007 09:03, Alin M Elena wrote:
> Hi Alex and Andreas,
>
> Thank you for you help. I have checked the cvs version.
> It seems to work. I tested  on  a hello project and on a more complex one.
>
> There are few things that I have observed
>
> 1. this looks strange to me
>     <useglobaltypes>
>       <type ext="ui" />
>       <type ext="cpp" />
>       <type ext="h" />
>     </useglobaltypes>
> 2.       <group pattern="*.ui" name="Qt Designer files" />   ???

Do the two points above give you any problems in kdevelop or are they 
just "looking strange" if you inspect the project file directly ?

> 3. It is necessary to call the project Fortran77? Can you call it just
> Fortran?

I took this from a kdevelop-generated project, I guess it must be called this 
way.
Andreas ?

> 4. <hidepatterns>*.o,*.lo,CVS,*~,cmake*</hidepatterns> Can you add svn?

Isn't this ".svn", which means it should already be hidden ?

> 5. to the fortran list of extension .fpp, .FOR, .FTN,  .FPP, .ftn should
> be added

The extensions used in the project file are the extensions listed in 
Modules/CMakeFortranCompiler.cmake.in. I guess cmake doesn't handle fortran 
files with the listed extensions. 
These are also generic fortran source file extensions or are they something 
special ?

> 6. I would not worry to much about ftnchek (the project seems to be
> slightly out of date 2004 last version). Today fortran compilers provide
> you a way to tell about programming warning.

Ok.

Bye
Alex


More information about the CMake mailing list