| |||
| Home > Configuring a Build Target > Overview of the Target Settings window > Using the Target Settings window | |||
This section gives basic information on using the Target Settings window to configure Target options. When you change target settings, the changes you make apply to the currently selected build target in the current project.
To display Target Settings configuration panels for a specific build target in the current project:
Open the project file you want to configure. See Opening a project for more information.
Set the current build target you want to configure as described in Setting the current build target. For example, select the build target from the Build Target drop-down menu (Figure 10.1).
To display the Target Settings window for that build target, either:
click the Target Settings button in the project window.
select the Settings menu item for your build target from the Edit menu.
The name of the Settings menu item matches the build target for your currently selected project. For example, if your current build target is Release, the Settings menu item is named Release Settings….
The CodeWarrior IDE displays a Target Settings window with a list of available Target Settings Panels on the left side of the window. The panel selected in the list is displayed on the right side of the window. Figure 10.2 shows an example.
The panels that are listed depend on the linker that is selected for the current build target. See Configuring general build target options for more information on specifying a linker.
Select the panel you want to configure in the list. You can us e the arrow keys or click the name of the panel.
Each panel contains related options that you can set. The options you select apply to the currently selected build target in the active project.
Select the options you require. See the rest of this chapter for detailed descriptions of the options in each configuration panel.
Use the buttons in the Target Settings window to apply or discard your changes:
Click this button to save any changes that you have made and close the window.
Click this button to close the window without saving any changes you have made.
Click this button to commit any changes you have made in any of the panels. If you have changed an option that requires you to recompile the project, the CodeWarrior IDE displays a confirmation dialog box. Click OK or Cancel depending on whether you want to keep your changes or not.
Click this button to reset the current panel to the settings that the CodeWarrior IDE uses as defaults. Settings in other panels are not affected. Only the settings for the current panel are reset.
Factory Settings defaults are not the same as ARM stationery defaults so use this button with care, particularly on ARM RealView panels such as the Compiler and Assembler.
Click this button to reset the state of the current panel to its last-saved settings. This is useful if you start making changes to a panel and then decide not to use them.
Click this button if you want to import an XML settings file. Select the file you want to import and click the Open button to import the settings.
Click this button if you want to export the current settings to XML. Enter the name of the file you want to export the settings to and click the Save button. You can then import these settings at any time.
If you make changes in the Target Settings window and attempt to close it, the CodeWarrior IDE displays a settings confirmation dialog box (Figure 10.3).
Click:
Don’t Save to discard your changes and close the dialog box and the Target Settings window.
Save to save your changes and close the dialog box and the Target Settings window.
Cancel to close the dialog box and continue using the Target Settings window without saving changes.