summaryrefslogtreecommitdiff
path: root/share/cmake-3.22/Help/prop_sf/Fortran_FORMAT.rst
blob: ef33926190dbda93cce142241db13afb29a38106 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Fortran_FORMAT
--------------

Set to ``FIXED`` or ``FREE`` to indicate the Fortran source layout.

This property tells CMake whether a given Fortran source file uses
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.