The quotes may be confusing...<div><br class="webkit-block-placeholder"></div><div>Try this exactly, with the quotes surrounding the whole thing, or without the quotes: &quot;-DCMAKE_BUILD_TYPE:STRING=Debug&quot;<br><br>&nbsp;</div>
<div>I think you are telling it to set the build type to &quot;Debug&quot; (including the quotes) but for it to work, it needs to be exactly Debug without any quotes...</div><div><br class="webkit-block-placeholder"></div>
<div><br class="webkit-block-placeholder"></div><div>HTH,</div><div>David</div><div><br><div><span class="gmail_quote">On 12/10/07, <b class="gmail_sendername">Ramazan Girgin</b> &lt;<a href="mailto:ramazangirgin@gmail.com">
ramazangirgin@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi all,</div>
<div>I want to built debug target with cmake and nmake . I am calling cmake with -DCMAKE_BUILD_TYPE=&quot;Debug&quot;.later i am calling nmake. But everytime nmake is building release target. Is there any other way to build debug target???
</div>
<div>Thanks in advance</div><span class="sg">
<div>Ramazan</div>
</span><br>_______________________________________________<br>CMake mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:CMake@cmake.org">CMake@cmake.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">
http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br>&nbsp;</div>