Creating and Deleting Configurations in a Project
Home Page (Projects) | Overviews | How Do I... Topics | NMAKE Reference
A project configuration consists of settings that determine the characteristics of the final output file for a project. When you create a new project configuration for a project, it is based initially on the settings from an existing project configuration that you select. Options you select for the new configuration, such as the platform, may modify those initial settings. The new project configuration always uses the same set of files as the configuration on which it is based.
What do you want to do?
Create a project configuration
Prevent a file from being built in a configuration
Delete a configuration from a project
To create a project configuration
On the Build menu, click Configurations.
In the Configurations box, select the project to which you want to add a configuration, and click Add.
You can also directly select the configuration on which you want to base the new configuration, for example, Win32 Debug.
In the Add Project Configuration dialog box, type a unique name for the new configuration.
On the Copy Settings From drop-down list, select the configuration from which the new configuration copies its initial settings.
On the Platform drop-down list, select a platform for the new configuration.
You can select the same platform as the project on which you are basing the new one if you want merely a variation of the existing settings.
Click OK and then Close.
To prevent a file or files from being built in a configuration
On the Project menu, click Settings, and then select the General tab.
In the pane beneath the Settings For drop-down control, select the file or files that you want to exclude from the build.
Select the Exclude File from Build check box.
To delete a configuration from a project
On the Build menu, click Configurations.
In the Projects and Configurations area, expand the project from which you want to delete a configuration.
Select the configuration that you want to remove and click Remove.
Respond Yes to remove the configuration.