[CMake] how to determine debug or release mode?

Quân Phạm Minh quanpm4186 at gmail.com
Wed Mar 14 04:19:03 EDT 2012


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>


More information about the CMake mailing list