Information Technology Reference
In-Depth Information
You can customize the existing rules by clicking the Copy to Target button. This opens the pane shown in Fig-
ure 13.34. Use the Process menu to select a file type. You can choose from a standard selection of types, or you
can select Source files with names matching: and type the extension in the box to the right. Each of the standard
rules defaults to one type. If you select a custom script, the default script stub includes a relevant build setting
that points you to the directory holding the associated files. You can modify any of these default options in your
script, as needed.
Use the Using box to select a processing action. You can select from another list of standard options or select the
Custom script option to create your own scripted processor. The script editor is identical to the one for build
phases, and it can use the same selection of languages supported by the shell.
Note that build rules are target-specific.
NOTE
You may be unfamiliar with some of the file types and processes in the menus. Many are highly specialized, and
you're unlikely to use them.
FIGURE 13.34
The build rules use the same scripting options as the build phases. (You can get as creative as you want here.)
Search WWH ::




Custom Search