Back to Cmake

Fortran_FORMAT

Help/prop_sf/Fortran_FORMAT.rst

4.3.2509 B
Original Source

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.