## Include Dirs Tab

The Include Dirs tab in the Project Configuration dialog (which you open with Project->Configure) allows you to specify include paths. You can specify multiple directory paths to search for include files used in the project.

Include paths are not recursively searched; that is, any subdirectories will not be searched for include files unless that subdirectory is explicitly specified in the list of include directories.

To add a directory, click Browse, select the directory, and click OK. Then, click Add to add the selected directory to the list.

During analysis, the include directories will be searched in the order that they appear in the dialog. You can click Move Up or Move Down to change the order in which directories will be searched.

The following figure shows the Include Dirs tab.

Typically only include files that are not directly related to your project (such as system-level includes) and that you do not want to analyze fully are defined here. For project-level includes you wish to be fully analyzed, be sure to add those include files as source files in the Sources tab.

Tip: If you have a lot of include files or they are generated by another process, you can add include file in bulk by specifying a file prefixed by an @ sign. For example, “@mydefs.txt”. This file should have contain a list of directories in the desired search order:

    /usr/include/X11
    /home/nelson/GUI

These files can also be used with the command line analyzer “undc” described in Command Line Processing

Scientific Toolworks, Inc. http://www.scitools.com