Keil Logo

INCDIR Compiler Directive

Abbreviation

None.

Arguments

Path specifications for include files enclosed in parentheses.

Default

None.

µVision

Options — C166 — Include Paths.

Description

The INCDIR directive specifies the location of the compiler include files. The compiler accepts a maximum of 512 path declarations. If more than one path declaration is specified the path names must be separated by semicolons.

Include files enclosed within double quote characters ('"') are searched for in the following folders in order:

  • The current folder.
  • The source file folder.
  • Paths specified by the INCDIR directive.
  • Paths specified by the C166INC environment variable.

Include files enclosed within angle bracket characters ('<>') are searched for in the following folders in order:

  • Paths specified by the INCDIR directive.
  • Paths specified by the C166INC environment variable.
Example
C166 SAMPLE.C INCDIR(C:\MYINC;C:\CHIP_DIR)
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.