[CMake] Fortan and C++
Brad King
brad.king at kitware.com
Mon Aug 24 08:30:12 EDT 2009
Dominik Szczerba wrote:
> I want to compile one file with fortran compiler (intel) and link with
> the rest of my project. Will the latest cmake allow to fully cmakify
> such scenario?
FYI, CMake HEAD from CVS has a whole bunch of new features for mixed
Fortran/C++ support. The main feature is that CMake now automatically
detects the implicit language runtime libraries used by each language.
When a single executable contains both C++ and Fortran code CMake
chooses the C++ compiler to drive the linker and passes the implicit
Fortran libraries explicitly.
The FortranCInterface module has been completely rewritten. It was
accidentally included in the 2.6.x release series and will not be
supported in its old form.
-Brad
More information about the CMake
mailing list