I have a solution file that requires a third party library (open source). The containing solution uses the typical configuration names of “Debug” and “Release”.
The third-party one has debug and release configurations for both DLL and static libraries – their names are not “Debug” and “Release”.
How do I tell the solution to build the dependency first and how do I correlate which configuration to the dependent configuration?
That is, MyProject:Debug should build either 3rdParty:debug_shared or 3rdParty:debug_static.
UPDATE:
I do not wish to correlate from one to many. I just want to be able to pick one and stick with it. So in my case I would correlate Debug in the main project to 3rdParty:shared_debug.
How do I do that?
When I say build for the solution for debug I want the third-party stuff to build as well.
In the IDE there is “configuration manager” where you can stick project configurations with solution configurations. Also there is “build dependencies” tool to choose which project should be compiled first.