[cmake-developers] Fortran standards compliance for various compilers

Alan W. Irwin irwin at beluga.phys.uvic.ca
Tue Apr 18 18:04:46 EDT 2017


I have just noticed that the CMake Fortran language support sets the
undocumented variable CMAKE_Fortran_COMPILER_SUPPORTS_F90. I haven't
looked into what test is applied to determine that variable, but
Fortran 90 is really old which means that variable is likely not too
useful since presumably most Fortran compilers already support
Fortran 95.

<Feature Request> What would really be useful is a list containing
what Fortran features from the Fortran 2003 and 2008 standards that the
given Fortran compiler supports.  That information is already
published (for 11 different Fortran compilers at
<http://www.fortranplus.co.uk/app/download/23704631/fortran_2003_2008_compiler_support.pdf>)
so it should be straightforward to make that same information
available via a CMake list for the subset of those 11 compilers that
CMake supports. </Feature Request>

Is there any interest in implementing this feature request?

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


More information about the cmake-developers mailing list