Development Reference Guides


Excluding Source Files from a Build

The following topic applies to Eclipse* for C/C++.
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
    Exclude from build
    dialog box opens.
  3. Select one or more build configurations to exclude the file or folder from.
  4. Click
The compiler excludes that file or folder when it builds using the selected project configuration.

Product and Performance Information


Performance varies by use, configuration and other factors. Learn more at