[CMake] check_fortrant_compiler_flag?

Jack Stalnaker jack.stalnaker at gmail.com
Fri Jun 20 09:57:06 EDT 2014


I see that there are standard modules for checking C and C++ compiler
flags, but there is no equivalent for fortran. Gfortran and ifort, for
instance, have different flags for changing/supporting source code format
and line length restrictions, so it would be very useful to be able to
check which of a list of flags works (if any). Is there a workaround, or is
it easy to do myself?

--Jack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20140620/74f7a562/attachment.html>


More information about the CMake mailing list