This extension allows to exclude from and include in build directories and multiple C/C++ files with one click of a menu option.
- Select directories and/or files you'd like to exclude or include
- Go to menu Tools
- Click either "Exclude From Build" or "Include In Build"
You can download this extension from Visual Studio Marketplace.