Enable Compiler Optimization
In this section you’ll apply the final bit of polish to the application by turning on compiler optimization. You can choose from several levels of optimization; in general, the higher the optimization level, the longer compilation will take to complete, and the more difficult it will be to debug the application. Choose Developer Tools Help in Project Builder’s Help menu for more information about optimizing your application.
To enable optimization:
In Project Builder, select the Build Settings pane of the Target options display as shown in Figure 14.5.
Choose a deployment optimization level.
When you’re ready to build final candidate versions of your application, select Deployment from the Build Styles pane. This will enable the optimization level that you selected.
If you wish, select an installation location. This is the folder where the application will be copied when the build is complete. This makes testing the finished app outside of Project Builder simple.

Figure 14-5. Project Builder’s Build Settings window
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access