12.8.14. Specifying paths to include files

For C and C++ sources, if you have project-specific header files and these are in a different directory from the rest of your sources, you must specify the path to include the files. For assembler sources, you can specify source file search paths.

To specify paths to include files that are in different directories to your main source files:

  1. Select Project → Project Properties... to display the Project Properties window.

  2. Right-click on the appropriate *COMPILE or *ASSEMBLE group in the List of Entries pane, and select Expand whole Tree from the context menu.

  3. Select *Preprocessor in the List of Entries pane.

  4. Right-click on Include in the List of Entries pane, and select Edit as Directory Name from the context menu. The Enter New Directory dialog box is displayed.

  5. Select the required directory, then click Select.

  6. Select File → Save and Close to regenerate the makefile(s) for the project, and close the Project Properties window.

  7. Select Tools → Build... to rebuild the application.

Copyright © 2003, 2004 ARM Limited. All rights reserved.ARM DUI 0234B
Non-Confidential