Thanks for this information. Was this documented somewhere publicly?<br><br><div class="gmail_quote">On Thu, Jun 25, 2009 at 5:52 AM, David Cole <span dir="ltr"><<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">When using makefile based CMake generators, set CMAKE_BUILD_TYPE to "Debug" or "Release" or "MinSizeRel" or "RelWithDebInfo"...<br>
<br>Add it as a STRING cache entry in the cmake-gui or pass it with -D on the cmake command line:<br>
cmake -DCMAKE_BUILD_TYPE:STRING=Debug -G "NMake Makefiles" ../source_dir<br> nmake<br><br><br><div class="gmail_quote"><div><div></div><div class="h5">On Wed, Jun 24, 2009 at 8:43 PM, Robert Dailey <span dir="ltr"><<a href="mailto:rcdailey@gmail.com" target="_blank">rcdailey@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex"><div><div></div><div class="h5">When I generate using "NMake Makefiles" generator, I build like this (I run this command from inside the build directory):<div>
<br></div><div>nmake /f Makefile</div><div><br></div><div>Everything builds just fine, but is this a debug or release build? When you build with NMake, do you have a choice of which configuration you want to use? I'm using the CMake 2.7 nightly build.</div>
<br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br>
</blockquote></div><br>