Show: Object Pascal C++
Display Preferences

Target Options

From Appmethod Topics
Jump to: navigation, search

Go Up to Compiler-Related Project Options


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 > Object Pascal 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.

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

Target values for desktop applications:
Most of the possible combinations of platform and configuration are listed here (a Native 32-bit Windows project, or various multi-device configurations, such as 32-bit Windows and 64-bit Windows). For a project that includes the 64-bit Windows and OS X target platforms, every configuration displays 64-bit Windows platform and OS X platform.

32-bit Windows* 32-bit Windows and 64-bit Windows 32-bit Windows and OS X 32-bit Windows, 64-bit Windows and OS X
  • All configurations
    • 32-bit Windows platform
  • All configurations
    • 32-bit Windows platform
    • 64-bit Windows platform
  • All configurations
    • 32-bit Windows platform
    • OS X platform
  • All configurations
    • 32-bit Windows platform
    • 64-bit Windows platform
    • OS X platform
  • Debug configuration
    • 32-bit Windows platform
  • Debug configuration
    • 32-bit Windows platform
    • 64-bit Windows platform
  • Debug configuration
    • 32-bit Windows platform
    • OS X platform
  • Debug configuration
    • 32-bit Windows platform
    • 64-bit Windows platform
    • OS X platform
  • Release configuration
    • 32-bit Windows platform
  • Release configuration
    • 32-bit Windows platform
    • 64-bit Windows platform
  • Release configuration
    • 32-bit Windows platform
    • OS X platform
  • Release configuration
    • 32-bit Windows platform
    • 64-bit Windows platform
    • OS X platform
  • Your custom build configuration
    • 32-bit Windows platform
  • Your custom build configuration
    • 32-bit Windows platform
    • 64-bit Windows platform
  • Your custom build configuration
    • 32-bit Windows platform
    • OS X platform
  • Your custom build configuration
    • 32-bit Windows platform
    • 64-bit Windows platform
    • OS X platform

*32-bit Windows means either:

  • There is no Target Platforms node in the Project Manager
  • The Target Platforms node contains only the 32-bit Windows platform

The initial default Target is Debug configuration - 32-bit Windows platform.


Target values for mobile apps:
Most of the possible combinations of platform and configuration are listed here (various multi-device configurations, such as Android and iOS Device). For a project that includes the 32-bit Windows target platform, every configuration also displays the 32-bit Windows platform.

Android iOS Device iOS Simulator** Android and iOS Device iOS Device and iOS Simulator** Android, iOS Device, and iOS Simulator**
  • All configurations
    • Android platform
  • All configurations
    • iOS Device platform
  • All configurations
    • iOS Simulator platform
  • All configurations
    • Android platform
    • iOS Device platform
  • All configurations
    • iOS Device platform
    • iOS Simulator platform
  • All configurations
    • Android platform
    • iOS Device platform
    • iOS Simulator platform
  • Debug configuration
    • Android platform
  • Debug configuration
    • iOS Device platform
  • Debug configuration
    • iOS Simulator platform
  • Debug configuration
    • Android platform
    • iOS Device platform
  • Debug configuration
    • iOS Device platform
    • iOS Simulator platform
  • Debug configuration
    • Android platform
    • iOS Device platform
    • iOS Simulator platform
  • Release configuration
    • Android platform
  • Release configuration
    • iOS Device platform
  • Release configuration
    • iOS Simulator platform
  • Release configuration
    • Android platform
    • iOS Device platform
  • Release configuration
    • iOS Device platform
    • iOS Simulator platform
  • Release configuration
    • Android platform
    • iOS Device platform
    • iOS Simulator platform
  • Your custom build configuration
    • Android platform
  • Your custom build configuration
    • iOS Device platform
  • Your custom build configuration
    • iOS Simulator platform
  • Your custom build configuration
    • Android platform
    • iOS Device platform
  • Your custom build configuration
    • iOS Device platform
    • iOS Simulator platform
  • Your custom build configuration
    • Android platform
    • iOS Device platform
    • iOS Simulator platform

** iOS Simulator is not supported by C++.

The initial default Target is Debug configuration - Android 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

Personal tools
In other languages