Is there a way to detect and use both F77 and F90 compilers?
I have some legacy F77 code that uses constructs that have been deprecated/removed in F90. I would like to compile those F77 files with a F77 compiler, compile the F90 files with an F90 compiler, and then link them with the F90 compiler.
How can this be done with CMake? For example: foo.f <-- F77 file bar.f90 <-- F90 file I want something equivalent to g77 foo.f -o foo.o gfotran bar.f90 foo.o -o executable.x _______________________________________________ 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