Developer Guide and Reference

  • 2021.2
  • 04/07/2021
  • Public Content
  • Download as PDF
Contents

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

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.