To define header files

You can add header files to your project hierarchy to quickly access the header files for edit. However, adding a header file to the hierarchy does NOT ensure that the Builder will find the header when it is compiling your source files.

To define a header file in your project hierarchy, add the file the same way as adding a source file.

To ensure that the Builder finds the header file when it is compiling your source files:

  1. Select the build file for the program or library you are building.
  2. Choose Project > Options for Selected Files..., then navigate to the General tab.
  3. In the Source Directories: field, enter the path where your header files are located. If your header files are located in multiple directories, separate the paths by commas WITHOUT any spaces.

Related topic:


Previous

Next



Copyright © 1999, Green Hills Software. All rights reserved.