CMAKE_VS_PLATFORM_TOOLSET_FORTRAN — CMake 3.29.3 Documentation

# CMAKE_VS_PLATFORM_TOOLSET_FORTRAN

New in version 3.29.

Fortran compiler to be used by Visual Studio projects.

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 `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.