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
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake