Intel® Fortran Compiler 16.0 User and Reference Guide

Selecting a Configuration

A configuration contains settings that define the final binary output file that you create within a project. It specifies the type of application to build, the platform on which it is to run, and the tool settings to use when building.

Debug and Release Configurations

When you create a new project, Visual Studio* automatically creates the following configurations:

Configuration Description

Debug configuration

By default, the debug configuration sets project options to include the debugging information in the debug configuration. It also turns off optimizations. Before you can debug an application, you must build a debug configuration for the project.

Release (Retail) configuration

The release configuration does not include the debugging information, and it uses any optimizations that you have chosen.

Use the Visual Studio* Configuration Manager to select:

Multiple configurations allow extending the scope of a project while maintaining a consistent source code base from which to work. The default configuration is the Debug configuration. To add, change, or delete a configuration, select Build > Configuration Manager from the main menu or use the drop-down box on the main menu bar. Only one configuration can be active at one time. Configurations can be used for the whole solution or for specific projects in the solution.

When you build your project, the currently selected configuration is built, as follows:

(You can change the output directory using the General category in Project > Properties.)

A configuration has the following characteristics:

By default, the Debug configuration sets project options to include debug symbol information and turns off optimizations. Before you can debug an application, you must build a debug configuration for the project. Although debug and release configurations usually use the same set of source files, the project setting information usually differs. For example, the default debug configuration supplies full debug information and no optimizations, whereas the default release configuration supplies minimal debug information and full optimizations.

To make configuration changes for your project:

  1. Choose an active solution in the Solution Explorer.
  2. Go to Build > Configuration Manager.
  3. Select a configuration.

Platform Types

The platform type sets options required specifically for the selected platform, such as options that the compiler uses for the source files, the libraries that the linker uses for the platform, defined constants, and so on.

New Configurations

In addition to the default Debug and Release configurations, you can also define new configurations within your project. These configurations may use the existing source files in your project, the existing project settings, or other characteristics of existing configurations.

See Also