# I-

Splits the include path.

## Syntax

Linux: | -I-

Windows: | /I-

## Arguments

None

## Default

OFF | The default directory is searched for include files.

## Description

This option splits the include path. It prevents the use of the current directory as the first search directory for '#include "file"'.

If you specify directories using the I option before you specify option I-, the directories are searched only for the case of '#include "file"'; they are not searched for '#include <file>'.

If you specify directories using the I option after you specify option I-, these directories are searched for all '#include' directives.

This option has no effect on option nostdinc++, which searches the standard system directories for header files.

This option is provided for compatibility with gcc.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Preprocessor Options

## See Also

I compiler option
nostdinc++ compiler option