[CMake] Fortan and C++
Brad King
brad.king at kitware.com
Mon Aug 24 09:25:01 EDT 2009
Michael Wild wrote:
>
> On 24. Aug, 2009, at 14:30, Brad King wrote:
>> 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.
>
> Sounds very nice! Do you also handle CMAKE_OSX_ARCHITECTURES on Mac in
> any meaningful way? AFAIK no Fortran compiler (and no non-Apple C/C++
> compiler) can produce fat binaries directly...
No, CMAKE_OSX_ARCHITECTURES and Fortran have been given no special
attention. So far the focus of effort has been on UNIX platforms.
-Brad
More information about the CMake
mailing list