Adding a Build Rule to a Target

Change the way files are processed with build rules.

To add a build rule to a target
  1. In the project editor, select the target to which you want to add a build rule.

  2. Click Build Rules at the top of the project editor.

  3. Choose Editor > Add Build Rule.

    A build rule template opens in the project editor.

  4. Choose a file type from the Process pop-up menu.

  5. Choose a tool from the Using pop-up menu.


You can define build rules on a per-target basis. Target-specific build rules can specify files that the system build rules do not directly address and can override the existing system build rules, which are predefined and unmodifiable.