12.8.12. 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:

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

  2. Select the *BUILD group in the List of Entries pane.

  3. To add a single object:

    1. Right-click on the Objects setting in the Settings Values pane, and select Make New from the context menu.

    2. Use in-place editing to enter the pathname of the required object file files.

    3. 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.

    Note

    You can also select Edit as Filename to locate the required object file.

    Figure 12.10. Adding an object file

    Adding an object file
  4. To add several object files:

    1. 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.

    2. Click Add for each new object file to be added.

    Note

    You can also use the Settings: List Manager dialog box to sort and reorder the list, for example where object link order is important.

  5. 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.

  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