[CMake] New type of cache variable: lists

David Doria daviddoria at gmail.com
Tue Dec 6 16:26:26 EST 2011


On Tue, Dec 6, 2011 at 4:19 PM, Robert Dailey <rcdailey at gmail.com> wrote:
> Has anyone thought of creating a "LIST" type for cache variables? In CMake
> GUI on Windows, this would be represented by a combo-box or drop-down box
> that allows the user to pick one item out of a list of available items.
>
> Is this possible?

I definitely agree. An immediate use case is for the CMAKE_BUILD_TYPE
variable. I added a feature request here a while back:
http://public.kitware.com/Bug/view.php?id=11806

David


More information about the CMake mailing list