CMake - Accessing configuration parameters of multiple-configuration generators
问题 I'm using CMake to generate a Visual Studio solution. I want my solution to have multiple configurations - x86 Debug/Release and x86_64 Debug/Release. For each of these configurations, I need to link my project against different versions of my dependencies (i.e. I need the 64-bit, debug build against the 64-bit, debug version of the unit test library). Here is how I want to do it: I'll place the binary versions of dependencies into folders names after the configurations, for example: <project