RAD Studio (Common)
ContentsIndex
PreviousUpNext
Setting C++ Project Options

You can manage application and compiler options for your project. Making changes to your project only affects the current project. However, you can also save your selections as the default settings for new projects.

To change option values

  1. Choose ProjectOptions. The Options dialog box appears.
  2. Select a page from the list in the left pane.
  3. If you leave the cursor over text describing an option, a tool tip gives you an option description, its default value, and a switch for the option if one exists.
  4. If an option's value differs from its parent configuration's value, its associated text is boldface.
  5. Set options on the page to determine how your project is built. Depending on the option, you may enter text, check or uncheck a box, or make a selection from a pull down menu. Some options have an ellipsis box that you click to display a dialog to choose a file or directory or a dialog to manage a list of items, such as paths.
  6. Some options that contain a list of items, such as defines or paths, have a Merge check box. If checked, the IDE merges the option's list with that of its immediate ancestor's configuration's list for that option. Note that the IDE does not actually change the contents of the option, but acts as if the list included the ancestor's list. If the ancestor's Merge check box is also checked, the IDE also merges this ancestor's list for that option, and so on up the inheritance chain. If unchecked, the IDE uses only the items in the current configuration.
  7. Click OK to accept the changes and close the dialog. Click Cancel to ignore the changes and close the dialog.

To revert option values to the parent configuration's value

  1. Choose ProjectOptions. The Options dialog box appears.
  2. Select a page from the list in the left pane and set your options to determine how you want your project to be built.
  3. If an option's value differs from its parent configuration's value, its associated text is boldface.
  4. Right-click the option and click Revert on the context menu. The option value changes to the parent configuration's value.
  5. Click OK to accept the changes and close the dialog. Click Cancel to ignore the changes and close the dialog.

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!