[CMake] Building debug targets

David Cole david.cole at kitware.com
Tue Dec 11 09:30:19 EST 2007


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
quotes...


HTH,
David

On 12/10/07, Ramazan Girgin <ramazangirgin at gmail.com> wrote:
>
> 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
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20071211/6c0c34c5/attachment-0001.htm


More information about the CMake mailing list