Visual Studio Build Tools and (Intel) Fortran

Hello,

Is there a way in cmake to use the Visual Studio Build Tools in combination with (Intel) FORTRAN without installing Visual Studio itself? I observed that cmake will use devenv.com which is not part of the Build Tools.

Regards,

Arend

image775782.png

image131245.png

image991605.png

image448985.png

image426415.png

AFAIK, no. @brad.king?

Using a Visual Studio generator with Intel Fortran requires that the latter’s VS Integration is installed, which AFAIK can only be done with a VS installation. Furthermore, Intel Fortran projects need to use the .vfproj format, which is based on the older .vcproj format that requires devenv.com to be used to drive the build, rather than msbuild.

It is possible to use Intel Fortran on Windows with a command-line generator such as Ninja or NMake Makefiles. That requires no special VS integration.