summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_VS_PLATFORM_TOOLSET_FORTRAN.rst
blob: c7e414835f7a2700d20b7304677973b03ee2c89f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
CMAKE_VS_PLATFORM_TOOLSET_FORTRAN
---------------------------------

.. versionadded:: 3.29

Fortran compiler to be used by Visual Studio projects.

:ref:`Visual Studio Generators` support selecting among Fortran compilers
that have the required Visual Studio Integration feature installed.  The
compiler may be specified by a field in :variable:`CMAKE_GENERATOR_TOOLSET` of
the form ``fortran=...``. CMake provides the selected Fortran compiler in this
variable. The value may be empty if the field was not specified.