incl searchPathFirst Miscellaneous Build Option

This option is not support for for C source files on OS/2 and Windows NT platforms.

Syntax: Default:
incl(searchPathFirst[, yes])
incl(searchPathFirst, no)
incl(searchPathFirst, no)

This option sets the search order for user include files. It does not affect the search order for system include files.

You can use this option in conjunction with incl(searchPath, path). However, the incl(searchPathFirst) option has no effect if no paths are specified with the incl(searchPath, path) option.

If the default, incl(searchPathFirst,no), is specified, the current directory is searched first, followed by the incl(searchPath) directories, and then finally the INCLUDE or default system directories.

If incl(searchPathFirst,yes) is specified, the incl(searchPath) directories are searched first, followed by the current directory, and then finally the INCLUDE or default system directories.

For C++ user included files, set incl(userStrategy, primary) or incl(userStrategy, including) to determine what file is considered to be the including file.



Incremental C++ Build
C Compilation
Search Paths for Include Files
Search Paths for Include Files


Add or Change Source Files
Set Build Options
Build


Miscellaneous Build Options
Miscellaneous Build Options