Intel® C++ Compiler XE 13.1 User and Reference Guides
To exclude a source file from a build:
The compiler excludes that file or folder when it builds using the selected project configuration.