##### Syntax

-I-

##### Description

Usually the compiler and assembler search for include files in the standard include directory created when the product is installed. If for some reason you wish to exclude these system locations from being searched when compiling a file, the -I- option will do this for you.

##### To set this option in the CrossStudio development environment

To exclude all search directories for a project:

- Select the project in the Project Explorer.
- In the Preprocessor Options group set the Ignore Includes property to Yes.

To exclude all search directories for a particular file:

- Select the file in the Project Explorer.
- In the Preprocessor Options group set the Ignore Includes property to Yes.

##### Example

To instruct the compiler to search only the directories ../include and ../lib/include for included files when compiling file.c:

    hcl -I- -I../include -I../lib/include file.c

##### Special Notes

The -I- option will clear any include directories previously set with the -I option, so you must ensure that -I- comes before setting any directories you wish to search. Therefore, the following command line has a different effect to the command line above:

    hcl -I../include -I../lib/include -I- file.c

##### See Also

Define Include Directories (-I)