Oracle® Solaris Studio 12.4: IDE Quick Start Tutorial

Exit Print View

Updated: October 2014
 
 

Managing Configurations

When a 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.

Properties changed in the Project Properties dialog box are stored in the makefile for the current configuration. You can edit the default configurations or create new ones.

To create a new configuration:

  1. Click the Manage Configurations button in the Project Properties dialog box.

  2. In the Configurations dialog box, select the configuration which most closely matches your desired configuration. In this case, select the Release configuration and click the Copy button. Then click Rename.

  3. In the Rename dialog box, rename the configuration to PerformanceRelease. Click OK.

  4. Click OK in the Configurations dialog box.

  5. In the Project Properties dialog box, select the C Compiler node in the left panel. Note that the PerformanceRelease configuration is selected in the Configuration drop-down list.

  6. In the property sheet in the right panel, change the Development Mode from Release to PerformanceRelease. Click OK.

You have created a new configuration that will compile the application with a different set of options.


Tip  -  You can also set the active configuration in the IDE's toolbar, or by right-clicking the project node and selecting Set Configuration.