[CMake] Building debug targets

2007-12-10 Thread Ramazan Girgin
Hi all, I want to built debug target with cmake and nmake . I am calling cmake with -DCMAKE_BUILD_TYPE="Debug".later i am calling nmake. But everytime nmake is building release target. Is there any other way to build debug target??? Thanks in advance Ramazan

Re: [CMake] Building debug targets

2007-12-11 Thread David Cole
The quotes may be confusing... Try this exactly, with the quotes surrounding the whole thing, or without the quotes: "-DCMAKE_BUILD_TYPE:STRING=Debug" I think you are telling it to set the build type to "Debug" (including the quotes) but for it to work, it needs to be exactly Debug without any qu