<div dir="ltr">I find addig this line helps.<div><br></div><div><div>set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS ${CMAKE_CONFIGURATION_TYPES} debug release RelWithDebInfo MinSizeRel )</div></div><div><br></div><div>
<br></div><div style>which makes cmake_build_type a drop list to chose.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 12, 2013 at 11:53 AM, liulewes <span dir="ltr">&lt;<a href="mailto:lewes_infor@hotmail.com" target="_blank">lewes_infor@hotmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">I&#39;m using cmake to build my own project under centOS 6. During configuration, cmake asked me to choose the type of build; however, whatever I typed in for CMAKE_BUILD_TYPE, it won&#39;t let me proceed. Anyone can give a hint?<br>
I using cmake 2.8.10.2 compiled in centOS 6. Thanks.<br>Best,<br>Lewes<br>                                               </div></div>
<br>--<br>
<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></div>