Show/Hide Toolbars

XSharp

The -i option adds a directory to the list of directories the compiler searches for include files.

Syntax

-i:dir

Arguments

dir A directory to add to list list of directories the compiler searches for include files.

Remarks

The compiler searches for files included with #include in the following order:

 

1.The current working directory

2.The include subdirectory of the Vulcan.NET installation directory (when applicable)

3.The include subdirectory of the XSharp installation directory

4.Any directories specified with -i

5.Any directories specified with the INCLUDE environment variable

 

Multiple directories can be specified by using The -i option multiple times.

The compiler does not search for filenames that are fully qualified in any location other than in the directory specified in the #include directive.

To set this compiler option in the Visual Studio development environment:

 

1.Open the project's Properties page.

2.Click the Build tab.

3.In the Preprocessor section, modify the "Additional include paths" property.

4.Click here to see the property page