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
This commit is contained in:
Brad King
2023-11-22 10:03:58 -05:00
parent 5c77facd78
commit 43d218d970
18 changed files with 105 additions and 2 deletions
+6
View File
@@ -10,6 +10,8 @@
#include <utility>
#include <vector>
#include <cm/optional>
#include <cm3p/json/value.h>
#include "cmGlobalVisualStudioGenerator.h"
@@ -102,6 +104,10 @@ public:
}
const std::string& GetIntelProjectVersion();
virtual cm::optional<std::string> GetPlatformToolsetFortran() const
{
return cm::nullopt;
}
bool FindMakeProgram(cmMakefile* mf) override;