• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1TYPE
2----
3
4Widget type for entry in GUIs.
5
6Cache entry values are always strings, but CMake GUIs present widgets
7to help users set values.  The GUIs use this property as a hint to
8determine the widget type.  Valid ``TYPE`` values are:
9
10::
11
12  BOOL          = Boolean ON/OFF value.
13  PATH          = Path to a directory.
14  FILEPATH      = Path to a file.
15  STRING        = Generic string value.
16  INTERNAL      = Do not present in GUI at all.
17  STATIC        = Value managed by CMake, do not change.
18  UNINITIALIZED = Type not yet specified.
19
20Generally the ``TYPE`` of a cache entry should be set by the command which
21creates it ( :command:`set`, :command:`option`, :command:`find_library`, etc.).
22