Intel® Fortran Compiler 16.0 User and Reference Guide

Specifying Path, Library, and Include Directories

You can specify directories that the Visual Studio* project system should search for certain types of files.

To set path, library, and include directories for your Intel® Fortran project environment on a particular machine:

  1. Select Tools > Options .

  2. In the left pane, select Intel Compilers and Tools > Visual Fortran > Compilers

  3. In the right pane, specify directories where the Visual Studio* project system should look for files:

    • Executables: the directories to be searched for executable files. (Works like the PATH environment variable.)

    • Libraries: the directories to be searched for libraries. (Works like the LIB environment variable.)

    • Includes: the directories to be searched for include files. (Works like the INCLUDE environment variable.) You can use macros like $(VSInstallDir) in directory names. For list of supported macros, see Supported Build Macros.

    Click OK.

Use the Reset and Reset All buttons to restore original installation settings for Executables, Libraries, and Includes fields. Reset restores initial settings for the currently selected compiler; Reset All restores initial settings for all compilers listed in the Selected drop-down box.

Note

If you specify devenv or useenv on the command line to start the IDE, the IDE uses the PATH, INCLUDE, and LIB environment variables as defined for that command line when performing a build. It uses these values instead of the values defined in Tools > Options.

For more information on the devenv command, see the devenv description in the Visual Studio* documentation.

For more information on environment variables, see Supported Environment Variables.

See Also