B.5.2. Sources group

The Sources group contains a list of the source files to be compiled for this COMPILE group. In this example the Sources group contains entries for two source files. To add source files to your project, do one of the following:

Table B.12 describes the settings available in the Sources group.

Table B.12. Sources group

NameDescription
Files

This setting specifies source files compiled for this COMPILE group. There is a separate *Files entry for each source file in the project.

This entry must only contain C or C++ source files, that is *.c or *.cpp.

The first entry in the list is the first file compiled.

Right-click and select Compile File... from the context menu to compile the chosen file and generate a new object file, if required.

Right-click and select Open File in Code Window... from the context menu to open the chosen file in the default File Editor pane ready for editing.

Right-click and select Exclude this file from Build from the context menu to exclude the chosen file from this build variant. The file can be included again in the same way.

If multiple files are given, you can select the Manage List... option from the context menu to reorder, add or remove entries.

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