# Visual Studio Build Tools and (Intel) Fortran

**URL:** https://discourse.cmake.org/t/visual-studio-build-tools-and-intel-fortran/8423
**Category:** Usage
**Created:** [June 28, 2023, 7:59am UTC](https://discourse.cmake.org/t/visual-studio-build-tools-and-intel-fortran/8423 "2023-06-28T07:59:32Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Abbing\_Arend](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/a/ce7236/32.png) [@Abbing\_Arend](https://discourse.cmake.org/u/Abbing_Arend)
#### Post date: [June 28, 2023, 7:59am UTC](https://discourse.cmake.org/t/visual-studio-build-tools-and-intel-fortran/8423/1 "2023-06-28T07:59:32Z")

</div>

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](http://devenv.com) which is not part of the Build Tools.

Regards,

Arend

![image775782.png](https://discourse.cmake.org/uploads/default/original/2X/0/0d41473051ec7b7804f87d1c7b655ba1b4ac6177.png)

![image131245.png](https://discourse.cmake.org/uploads/default/original/2X/1/1354d3db85ad88e568ae1587014a3ee78df14d95.png)

![image991605.png](https://discourse.cmake.org/uploads/default/original/2X/8/85e214d465abb03458f90ec4df8e38466e226877.png)

![image448985.png](https://discourse.cmake.org/uploads/default/original/2X/f/f4592b7ebb49e686f65e9c99b7db32cc0f60b264.png)

![image426415.png](https://discourse.cmake.org/uploads/default/original/2X/5/51a1c42bfe34100ff5cdbf1b37c52875d55efdfe.png)

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [July 1, 2023, 9:32pm UTC](https://discourse.cmake.org/t/visual-studio-build-tools-and-intel-fortran/8423/2 "2023-07-01T21:32:48Z")

</div>

AFAIK, no. @brad.king?

---

<div class="post-metadata">

### Author: ![brad.king](https://discourse.cmake.org/user_avatar/discourse.cmake.org/brad.king/32/11_2.png) [@brad.king](https://discourse.cmake.org/u/brad.king)
#### Post date: [July 5, 2023, 11:38am UTC](https://discourse.cmake.org/t/visual-studio-build-tools-and-intel-fortran/8423/3 "2023-07-05T11:38:02Z")

</div>

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.
