View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011806CMakeCCMakepublic2011-02-05 13:332016-06-10 14:31
ReporterDavid Doria 
Assigned ToKitware Robot 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionmoved 
PlatformLinuxOSFedoraOS Version13
Product VersionCMake 2.8.3 
Target VersionFixed in Version 
Summary0011806: CMAKE_BUILD_TYPE should be a drop down box
DescriptionCurrently, you have to manually type one of {None, Debug, Release, RelWithDebInfo, MinSizeRel}. Would it make more sense to choose one of these from a list? Or at the least, throw an error if the string supplied does not match one of those.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0025302)
Alex Neundorf (developer)
2011-02-05 15:09

For cmake-gui this can be done by setting the STRINGS property of the cache entry:
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "DEBUG;RELEASE;MY_BUILD_TYPE")

Alex
(0025303)
David Doria (reporter)
2011-02-05 15:40

Shouldn't this be the default though, rather than having to add that line to every CMakeLists.txt file?
(0026600)
David Cole (manager)
2011-05-25 17:20

Not for 2.8.5 - postponing until a future release
(0027930)
David Cole (manager)
2011-12-06 19:40

See also this blog post:

  http://www.kitware.com/blog/home/post/82 [^]
(0027931)
David Cole (manager)
2011-12-06 19:42

Another thing to consider about CMAKE_BUILD_TYPE specifically is that some projects use custom values for this entry that are not one of the standard well-known set {None, Debug, Release, RelWithDebInfo, MinSizeRel}...
(0041795)
Kitware Robot (administrator)
2016-06-10 14:28

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2011-02-05 13:33 David Doria New Issue
2011-02-05 15:09 Alex Neundorf Note Added: 0025302
2011-02-05 15:40 David Doria Note Added: 0025303
2011-04-14 14:37 David Cole Target Version => CMake 2.8.5
2011-05-25 17:20 David Cole Note Added: 0026600
2011-05-25 17:20 David Cole Status new => backlog
2011-05-25 17:20 David Cole Target Version CMake 2.8.5 =>
2011-12-06 19:40 David Cole Note Added: 0027930
2011-12-06 19:42 David Cole Note Added: 0027931
2016-06-10 14:28 Kitware Robot Note Added: 0041795
2016-06-10 14:28 Kitware Robot Status backlog => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:28 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team