[CMake] Mixing C/CPP and Fortran
Arjen Markus
arjen.markus at deltares.nl
Wed May 27 04:47:27 EDT 2009
Hello Alin,
that _could_ be a good reason :), but why not try to
verify this manually:
- Small C main program calling a Fortran routine
- The Fortran routine in a library
- Link via the Fortran compiler
Some Fortran compilers will need to know that the main
program is not in Fortran, others do not care so much.
I guess this is a somewhat new area for CMake, so you
may have to experiment with compiler flags and see how
they fit into the CMake modules ...
Regards,
Arjen
On 2009-05-27 09:38, Alin M Elena wrote:
>> why not try to make Fortran the main language?
> Because the main is C?
>
> Alin
>
More information about the CMake
mailing list