cmake/Help/prop_sf/Fortran_FORMAT.rst

13 lines
510 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
Fortran_FORMAT
--------------
2019-11-11 23:01:05 +01:00
Set to ``FIXED`` or ``FREE`` to indicate the Fortran source layout.
2014-08-03 19:52:23 +02:00
This property tells CMake whether a given Fortran source file uses
2020-08-30 11:54:41 +02:00
fixed-format or free-format. CMake will pass the corresponding format flag
to the compiler. Consider using the target-wide :prop_tgt:`Fortran_FORMAT`
property if all source files in a target share the same format.
.. note:: For some compilers, ``NAG``, ``PGI`` and ``Solaris Studio``,
setting this to ``OFF`` will have no effect.