Previous Next
Building a project's targets

This section only applies if you use SNiFF+'s Make Support. If you use your own Makefiles, please refer to Using Your Own Makefiles.

    Note
    By default, debugging information is generated for targets compiled in SNiFF+. To turn off this default behavior, please refer to Specifying platform-specific Make information.

You can build targets in the Project Editor, the Source Editor and the Shell. Here, the Project Editor is used. To build the project's targets:

  1. Open the project whose target(s) you want to build.
  2. Update Make Support Files:
    • Choose the Update Makefiles... command from the Target menu.
    • Press the OK button in the dialog that appears to update the project's dependencies information.
      SNiFF+ generates or updates the Make Support Files of all projects checkmarked in the Project Tree.
  3. If you work in a PWE that accesses an SOWE, choose the Make > symbolic_links command from the Target menu.
    SNiFF+ creates symbolic links in your PWE to object files and targets in the SOWE (for details, please refer to
    Sharing object files).
  4. In the Project Tree, select the project whose target(s) you want to build.
  5. Choose the appropriate Make command from the Target menu:
    • To build the default target of the project, choose the Make default target command.
    • To recursively build the default target of the project and each of its subprojects, choose the Make all command.
Results
You should see the following results, depending on which command you executed.
Trouble Shooting
The following trouble shooting tips may come in handy: