Help: emphasize need for VS Integrations with oneAPI Fortran

Be more explicit that VS Integration is required to use
Intel Fortran with MSVC.

It is common that users do not have VS Integration installed because
oneAPI is then only usable with a narrow range of MSVC versions,
even when oneAPI is used by itself with MSVC as the required backend.
Without VS Integration, a wide range of MSVC versions work as the
backend to oneAPI on Windows.
This commit is contained in:
scivision 2024-03-29 10:28:34 -04:00
parent 7e52f9d4e0
commit 7fa0057c74
No known key found for this signature in database
GPG Key ID: 6D23CDADAB0294F9
2 changed files with 6 additions and 6 deletions

View File

@ -51,8 +51,8 @@ Supported pairs are:
``fortran=<compiler>`` ``fortran=<compiler>``
.. versionadded:: 3.29 .. versionadded:: 3.29
Specify the Fortran compiler to use, among those that integrate with VS. Specify the Fortran compiler to use, among those that have the required
The value may be one of: Visual Studio Integration feature installed. The value may be one of:
``ifort`` ``ifort``
Intel classic Fortran compiler. Intel classic Fortran compiler.

View File

@ -6,7 +6,7 @@ CMAKE_VS_PLATFORM_TOOLSET_FORTRAN
Fortran compiler to be used by Visual Studio projects. Fortran compiler to be used by Visual Studio projects.
:ref:`Visual Studio Generators` support selecting among Fortran compilers :ref:`Visual Studio Generators` support selecting among Fortran compilers
whose Visual Studio Integration is installed. The compiler may be specified that have the required Visual Studio Integration feature installed. The
by a field in :variable:`CMAKE_GENERATOR_TOOLSET` of the form ``fortran=...``. compiler may be specified by a field in :variable:`CMAKE_GENERATOR_TOOLSET` of
CMake provides the selected Fortran compiler in this variable. the form ``fortran=...``. CMake provides the selected Fortran compiler in this
The value may be empty if the field was not specified. variable. The value may be empty if the field was not specified.