[CMake] Mixing C and Fortran object in same library with MSVC
Martin Apel
martin.apel at simpack.de
Mon Jul 28 09:42:36 EDT 2008
Hi,
I am trying to generate a DLL on Windows, which contains objects from C
source files as well as Fortran source files. When using the nmake
generator of cmake 2.6.0, everything works fine, as well as under Linux.
However when using the Visual Studio 8 generator, only the C sources are
compiled, not the Fortran sources. I suspect this is a bug in MSVC,
because the generated .vcproj file contains the Fortran files, but MSVC
shows "Custom Build Tool" for the compiler, when selecting "Properties"
on a Fortran source file. Or is this a bug in CMake?
Any help would be very much appreciated.
Regards,
Martin
--
____________
Virus checked by G DATA AntiVirus
Version: AVKA 18.346 from 28.07.2008
More information about the CMake
mailing list