Choosing an Executable

Project Builder lets you associate an executable with any target. Project Builder runs this executable when the target is selected and you press the Run or Debug button.

If the target produces an executable, such as an application or command-line tool, Project Builder automatically associates that executable with the target. For another project type, you can associate an executable with it yourself. For example, if a target produces a Photoshop plugin, you would associate Photoshop with it.

To associate an executable with a target:

Several executables can be associated with a target. To choose which to use, select it.


Setting Command-Line Arguments

You can assign arguments to your command-line tool that Project Builder uses when you run or debug it.

To add a set of arguments to your command-line tool:

  1. Click the Targets tab, select your command-line tool's target, and click the Executables tab.
  2. In the Arguments pane, click Add.

If you have multiple sets of arguments, you can select the one to use by clicking in its Use column.