[CMake] display default build type

David Doria daviddoria at gmail.com
Thu Apr 23 12:55:13 EDT 2009


If in my CMakeLists.txt file I have:

PROJECT(CMakeDemo)
set(CMAKE_BUILD_TYPE DEBUG)
ADD_EXECUTABLE(CMakeDemo cmakedemo.cpp)

when I run ccmake on the directory and press 'c' to configure, the
CMAKE_BUILD_TYPE field is still empty. Have I not set it properly? Or do you
have to turn on "show defaults" somewhere else?

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090423/b7268d7b/attachment.htm>


More information about the CMake mailing list