Share via


Project Configurations

Home Page (Projects)OverviewsHow Do I... TopicsNMAKE Reference

Projects are controlled by their configuration settings. Specifying settings at the overall project configuration level is sufficient for most projects. But if you prefer, you can specify different settings within a project configuration for various files.

Project configurations have a hierarchical structure of settings. The settings specified at the project configuration level apply to all files within the configuration. However, you can also specify settings for individual files or a folder of files if you need to compile files with settings different from the general configuration settings. For instance, if you specify Default optimizations for a configuration, all files contained within the configuration use Default optimizations. You can, however, specify specific optimization settings — or the setting for no optimizations at all — for any individual files in the configuration.

Important   The settings that you specify at the file level override options set at the configuration level.

You can specify some types of settings, such as linking, only at the project configuration level.

You can specify settings at the following levels within a project configuration:

  • Project configuration level. Settings specified at this level apply to all actions. Any settings specified for the project configuration apply to every file in the project unless overridden at the file level.

  • File level. Settings specified at this level apply to file-level actions, such as compiling. Any settings specified for the file apply only to that file and override any settings specified at the project configuration level.

What do you want to know more about?

Building the project configuration

Platform types

What do you want to do?

Specify project configuration settings

Specify file settings