Lines Matching full:value
21 STRING str OR list of str (if ';' is in the value)
23 INTERNAL str OR list of str (if ';' is in the value)
37 =(?P<value>.*) # value
70 # (The value of an entry could contain a comment character).
82 name, type_, value = (m.group(g) for g in ('name', 'type', 'value'))
85 value = cls._to_bool(value)
89 # If the value is a CMake list (i.e. is a string which contains a ';'),
91 elif type_ in ['STRING', 'INTERNAL'] and ';' in value:
92 value = value.split(';')
94 return CMakeCacheEntry(name, value)
96 def __init__(self, name, value): argument
98 self.value = value
101 fmt = 'CMakeCacheEntry(name={}, value={})'
102 return fmt.format(self.name, self.value)
128 return entry.value
137 value = entry.value
138 if isinstance(value, list):
139 return value
140 elif isinstance(value, str):
141 return [value] if value else []
143 msg = 'invalid value {} type {}'
144 raise RuntimeError(msg.format(value, type(value)))
152 return self._entries[name].value
156 msg = 'improper type {} for value {}, expecting CMakeCacheEntry'