-cwd

Controls where a search begins for #include files. The path represented by keyword is searched before searching access paths defined for the build target.

Syntax
  -cwd keyword  

The options for keyword are:

explicit

No implicit directory. Search -I or -ir paths.

include

Begin search in directory of referencing file.

proj

Begin search in current working directory (default).

source

Begin search in directory that contains the source file.