Add or Remove an Option Directive

The Configuration section of the IDE provides views and actions to add option directives to or remove them from your configuration file.

To add an option directive:

  1. Select the directive that you want to either add the new option directive after or into from whatever Configuration view it is displayed in. Right-click the directive to display a menu. To add the option directive to the top of the configuration file, right-click on the background of a view to display a menu. Views that offer this pop-up menu include Source and Groups, Targets, Source and Targets, or Options Groups.
  2. Select the action that adds the option directive to where you want it in the configuration file:

    A dialog box is displayed.

  3. Type a name in the Group field if you want to create an option group that can be reused in subsequent option directives.
  4. In the dialog box, set the values for the options you want in the option directive.
  5. To undo the selections you have made, click Reset. Click Cancel to close the dialog box without adding the option directive.
  6. Click Apply. The new option directive is added to the configuration file. To update the codestore and the other views in the IDE, you must build the project.

To remove an options directive, select the options directive, and then select Remove from the pop-up menu. The option directive is deleted from the file, and the views in the Configuration section are refreshed. If the option directive is named, and if that option group is referenced in other option directives, those references are removed as well.



Configuration Files
How Configuration Files Are Processed


Set Build Options
Set Build Options for Source Files or Targets
Set Build Options for the Project
Change an Option Directive
Search a View using Live Find


option Configuration File Directive
Build Options