Creating and Modifying Build Configurations

From RAD Studio
Jump to: navigation, search

Go Up to How To Compile and Build Applications


Use the following procedures to create and modify build configurations.

To create a build configuration using the Project Manager

  1. In the Project Manager, locate and open the Build Configurations node. The node itself represents the settings of the Base build configuration. This node also lists all the build configurations that exist for the current project (such as Base, Debug, and Release), as well as the option sets that have been applied by reference to any of the build configurations.
  2. Each new build configuration must be based on an existing build configuration. Right-click the name of the parent configuration (such as Debug or Release) and select New Configuration. If you right-click the Build Configurations node itself, the configuration you create is based on the Base configuration.
  3. The New Build Configuration input box appears. Enter a name for the new configuration and click OK.
  4. The new configuration appears in the Project Manager, nested beneath the node of its parent configuration.


To create a build configuration using the Configuration Manager

  1. Open the Configuration Manager ( View > Configuration Manager).
  2. Select the name of the project.
  3. Click the NewBuildConfig.png button (Add a new build configuration).
  4. In the New Build Configuration dialog box, select the projects that you want to have the new build configuration.
  5. Select the parent for the new configuration in the Select Parent Configuration list.
  6. Click Add.
  7. In the New Build Configuration input box, enter a name for the build configuration and click OK.
  8. In the New Build Configuration dialog box, click Close.
The new build configuration appears in the Project Manager, nested beneath the node of its parent configuration.

Note: To rename a configuration, right-click the configuration's name in the Project Manager and select Rename. You cannot rename the Base configuration (represented by the Build Configurations node).

To modify an existing build configuration

  1. In the Project Manager, locate and open the Build Configurations node.
  2. Right-click the configuration you want to modify and select Edit from the context menu.
  3. The Project Options dialog box is displayed with only its build-related pages available.
  4. Adjust the project options on each of the build-related pages as appropriate for your needs.
  5. Click OK to save.

Tip: To activate a specific build configuration, see Activating a Build Configuration for a Project.

See Also