Cmake generates incorrect configurations <p>I use CMake, and on one of my machines, the generation seems to be messy. When I open the project properties in Visual Studio 2010, the debug configuration seems to be a release one: <code>_DEBUG</code> is not defined, optimizations are enabled, the linked runtime is the release one (<code>/MT</code> and not <code>/MTd</code>), etc...</p> <p>The problem is that it prevent correct build of project depending on dlls compiled using CMake... for example if some parts of the dll are only present in a debug build. I am using CMake 2.8.10.2.</p>