cmake-basis / legacy

Legacy CMake BASIS project for versions 3.2 and older. For newer versions, go to
https://github.com/cmake-basis/BASIS
Other
13 stars 11 forks source link

Set STRINGS property of CMAKE_BUILD_TYPE to CMAKE_CONFIGURATION_TYPES #512

Closed schuhschuh closed 8 years ago

schuhschuh commented 8 years ago

Not actually sure if this should be a default. Maybe better done in the project template.

set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS ${CMAKE_CONFIGURATION_TYPES})
mark_as_advanced(CMAKE_CONFIGURATION_TYPES)