Managing Project Configurations

See Also 

When a C or C++ project is created, it has a Debug configuration and a Release configuration. A configuration is a collection of settings used for the project. You can easily switch many settings at once when you select a configuration. The Debug configuration builds a version of your application that includes debug information. The Release configuration builds an optimized version.

When you manage configurations, you can modify configuration properties and add new configurations. And you can select the active configuration, which is used when you build or run your project.

To manage project configurations:

  1. Right-click the main node of the project and choose Properties.
  2. In the Project Properties dialog box, click Manage Configurations.

To add a configuration:

  1. In the Configurations dialog box, select an existing configuration and click Duplicate.
  2. Click Rename.
  3. In the Rename dialog box, type the name of the new configuration and click OK.
  4. Set the properties of the new configuration and click OK.

To set the active configuration:

See also
Setting C and C++ Compiler Options
Setting C and C++ Linker Options
Setting Project Properties

Legal Notices