| |||
Home > Project Properties Reference > COMPILE group > 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:
right-click on the Files
entry
and select Edit Value, or Edit
as Filename from the context menu
right-click on the Files
entry
and select Manage List... from the context
menu to display the Settings: List Manager dialog box
select Add Files to Project... from the Project menu in the Code window.
Table B.12 describes
the settings available in the Sources
group.
Table B.12. Sources group
Name | Description |
---|---|
Files | This setting specifies source files compiled
for this This entry must only contain C or
C++ source files, that is 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. |