| |||
Home > Managing Projects > Configuring project properties > Adding object files |
The Objects
setting defines the location
of object files, as specified in the COMPILE
group.
To add object files to the build:
Select Project → Project Properties... to display the Project Properties window.
Select the *BUILD
group in the
List of Entries pane.
To add a single object:
Right-click
on the Objects
setting in the Settings Values
pane, and select Make New from the context
menu.
Use in-place editing to enter the pathname of the required object file files.
Confirm the entry to see the new object file added
to the list. For example, C:\Add_proj_2\Objects\thumbtest.o
,
as shown in Figure 12.10.
You can also select Edit as Filename to locate the required object file.
To add several object files:
Right-click on the Objects
setting, in
the Settings Values pane, and select Manage List... from
the context menu. This displays the Settings: List Manager dialog
box.
Click Add for each new object file to be added.
You can also use the Settings: List Manager dialog box to sort and reorder the list, for example where object link order is important.
Click OK to confirm the entries. The Settings: List Manager dialog box closes, and the object files list in the Project Properties window is updated.
Select File → Save and Close to regenerate the makefile(s) for the project, and close the Project Properties window.
Select Tools → Build... to rebuild the application.