Target Options

From RAD Studio
Jump to: navigation, search

Go Up to Project Options Dialog Box


This set of options allows you to apply the project options set on the current page to various combinations of target platform and build configuration (or to all platforms, or all configurations).

Target options occupy the top line of all the compiler- and build-related pages of the Project Options dialog box, such as Project > Options > Delphi Compiler.


Target options Description

Target

The Target is the name of the build configuration associated with the options that are set on this page. The Target field displays the configuration and the associated target platform, such as Debug configuration - 32-bit Windows platform (the default target configuration for 32-bit Windows applications).

Built-in configurations that you can choose as a target:

  • All configurations
  • Debug
  • Release

Any build configurations that you have created are listed in addition to the built-in ones. The initial default is Debug.

The target platforms associated with those build configurations are the target platforms that you have on the Projects Window, under the Target Platforms node of your project node. If you add or remove a platform from your project,

Note: Every project must include at least one target platform.

Examples

Selecting a Target applies the options on the current page to the selected configuration on the selected platform. For example, here are the results when you select the following values in the Target dropdown list:

  • All configurations
    • Applies the options on the page to every combination of platform and configuration.
    • All configurations - All platforms appears in the dialog box.
  • Release configuration
    • Applies the options on the page to the Release configuration on every combination of platform and configuration.
    • Debug configuration - All platforms appears in the dialog box.
  • Debug configuration > 32-bit Windows platform
    • Applies the options on the page to the Debug configuration on the 32-bit Windows platform.
    • Debug configuration - 32-bit Windows platform appears in the dialog box.

For more information about build configurations, see Build Configurations Overview.

Apply...

Displays the Apply Option Set dialog box to apply the options from an existing named option set (.optset file) to the current configuration.

For more information about option sets, see Option Sets Overview.

Save...

Displays the Save Commands dialog box, enabling you to save the current Project Options settings as an option set file (.optset file).

For more information about option sets, see Option Sets Overview.

To change the value of an option on the Project Options Dialog Box, click the value field, and then either enter a value or click the Down Arrow to select from the available choices.


See Also