[CMake] CMAKE_BUILD_TYPE case sensitivity

Ian Liu Rodrigues ian.liu88 at gmail.com
Thu Jun 27 22:36:14 EDT 2013


>
> I see that this CMake variable is not case-sensitive at it and defaults to
> DEBUG.


I'm afraid this is incorrect; the default build type is empty. When you
build with Release, the flag NDEBUG is set; when you build with Debug the
DEBUG flag is set.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130627/f143296d/attachment.htm>


More information about the CMake mailing list