Files
CMake/Help/variable/CMAKE_VS_PLATFORM_TOOLSET_FORTRAN.rst
Brad King 43d218d970 VS: Add support for using Intel oneAPI Fortran compiler in .vfproj files
Add a `fortran={ifort,ifx}` field to `CMAKE_GENERATOR_TOOLSET` to
specify which Intel Fortran compiler to use.

Fixes: #25427
2023-11-22 10:22:12 -05:00

13 lines
497 B
ReStructuredText

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
whose Visual Studio Integration is 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.