We have multiple C++ projects in our solution that all support different configurations (I'll omit some uninteresting ones here):
- Shared (Debug, DebugMD)
 - A (DebugMD)
 - B (Debug)
 
Both A and B depend on Shared, but A depends on Shared (DebugMD) and B depends on Shared (Debug).
We have one solution configuration Debug, that builds:
- Shared (Debug)
 - A (DebugMD)
 - B (Debug)
 
However, this configuration breaks A, because we don't build Shared (DebugMD). Is it possible to build Shared (Debug) and Shared (DebugMD) within the same solution configuration (without batch builds)?
I've read Can I build multiple configurations of a project within one solution configuration?, but this only seems to work for .net projects (or at least I couldn't get it working for .vcxprojs).