how determine build type in cmake like
if (CMAKE_BUILD_TYPE EQUAL "DEBUG")
message("debug mode")
endif (CMAKE_BUILD_TYPE EQUAL "DEBUG")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120314/fbd862de/attachment.htm>