Intel® C++ Compiler 19.0 Developer Guide and Reference
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.