[CMake] F77 support?

Maik Beckmann beckmann.maik at googlemail.com
Thu May 1 08:42:55 EDT 2008


Am Donnerstag 01 Mai 2008 14:20:20 schrieb Convey Christian J NPRI:
> I've read that CMake 2.6 gives full support for building Fortran 90, but
> does it handle Fortran 77 equally well?

Yes.

> And are there any tricks I should know about for building F77 code with
> CMake and g77 on Linux?

Just start your CMakeLists.txt with
  project(MyProjectName Fortran)
rather than just
  project(MyProjectName)

cmake-2.4 handles F77 proper too, by the way.


-- Maik


More information about the CMake mailing list