cmake/Help/prop_tgt/Fortran_BUILDING_INTRINSIC_MODULES.rst
Michael Kruse 0e142193ac Ninja: Honor Fortran_BUILDING_INTRINSIC_MODULES
In commit b65930a7a7 (Fortran: Add Fortran_BUILDING_INTRINSIC_MODULES
for building intrinsics, 2025-01-09, v4.0.0-rc1~223^2) we only
implemented the property for the Makefile generators.  Implement it
for the Ninja generators too.

Fixes: #26803
2026-06-17 10:47:10 -04:00

21 lines
777 B
ReStructuredText

Fortran_BUILDING_INTRINSIC_MODULES
----------------------------------
.. versionadded:: 4.0
Instructs the CMake Fortran preprocessor that the target is building
Fortran intrinsics for building a Fortran compiler.
This property is off by default and should be turned only on projects
that build a Fortran compiler. It should not be turned on for projects
that use a Fortran compiler.
Turning this property on will correctly add dependencies for building
Fortran intrinsic modules whereas turning the property off will ignore
Fortran intrinsic modules in the dependency graph as they are supplied
by the compiler itself.
.. versionadded:: 4.5
This property is now honored by the :ref:`Ninja Generators`.
Previously it was only honored by the :ref:`Makefile Generators`.