I find addig this line helps.

set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
${CMAKE_CONFIGURATION_TYPES} debug release RelWithDebInfo MinSizeRel )


which makes cmake_build_type a drop list to chose.


On Fri, Apr 12, 2013 at 11:53 AM, liulewes <lewes_in...@hotmail.com> wrote:

> I'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't let me proceed. Anyone
> can give a hint?
> I using cmake 2.8.10.2 compiled in centOS 6. Thanks.
> Best,
> Lewes
>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to