Intel® C++ Compiler 16.0 User and Reference Guide
The following topic applies to Eclipse* for C/C++.
To exclude a source file from a build:
The compiler excludes that file or folder when it builds using the selected project configuration.