Intel® C++ Compiler XE 13.1 User and Reference Guides

Excluding Source Files from a Build

To exclude a source file from a build:

  1. Right-click a file or folder in the Project Explorer.
  2. Select Resource Configurations > Exclude from build. The Exclude from build dialog box opens.
  3. Select one or more build configurations to exclude the file or folder from.
  4. Click OK.

The compiler excludes that file or folder when it builds using the selected project configuration.


Submit feedback on this help topic