# I

Specifies an additional directory to search for include files.

## Syntax

Linux: | -I dir

Windows: | /I dir

## Arguments

dir | Is the additional directory for the search.

## Default

OFF | The default directory is searched for include files.

## Description

This option specifies an additional directory to search for include files. To specify multiple directories on the command line, repeat the include option for each directory.

## IDE Equivalent

Visual Studio: General > Additional Include Directories

Eclipse: Preprocessor > Additional Include Directories

## Alternate Options

None

Parent topic: Preprocessor Options