[CMake] Windows build inconsistency...

The Novice Coder cmake at randmsystems.com
Thu Jun 2 18:29:11 EDT 2011


I've noticed an inconsistency in CMake's generation..  For example I go 
through the following sequence:

cd \Project
mkdir Debug
cd Debug

Then I either:

cmake -G "Visual Studio 9 2008" -DCMAKE_BUILD_TYPE=Debug 
..\CMakeLists.txt

It will generate, and then place the project files in \Project.


But if I use:

cmake -G "Visual Studio 9 2008" -DCMAKE_BUILD_TYPE=Debug ..

It will generate, and then place the project files in \Project\Debug


Why are these different?
Are the differences expected behavior?
I'm a bit confused..

Thanks!


More information about the CMake mailing list