[CMake] CMAKE_BUILD_TYPE should start as a drop-list option

J Decker d3ck0r at gmail.com
Mon Mar 1 21:37:10 EST 2010


set(CMAKE_BUILD_TYPE "Debug" CACHE STRING
      "Set build type")
  set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
               "Debug" "Release" "MinSizeRel" "RelWithDebInfo")


This could be added to some default startup macro, no?


More information about the CMake mailing list