Lahey/Fujitsu Fortran

-I path1[;path2 ...]

Include Path

Compile only. Default: current directory

Instruct the compiler to search the specified path(s) for Fortran INCLUDE files after searching the current directory. Separate multiple search paths with a semicolon, not spaces. If a space appears as part of a pathname, the entire path must be enclosed in quotes.


LF95 demo -i ..\project2\includes;..\project3\includes

In this example, the compiler first searches the current directory, then searches ..\project2\includes and finally ..\project3\includes for INCLUDE files specified in the source file DEMO.F90

Visual Studio Property

The -i option corresponds to the Fortran|Module/Include Paths|Include Path property. This property can be set on the property page for the project or source file.

See Also

Setting Build Options