|
|
@@ -357,6 +357,7 @@ const char* cmCacheManager::PersistentProperties[] =
|
|
|
{
|
|
|
"ADVANCED",
|
|
|
"MODIFIED",
|
|
|
+ "STRINGS",
|
|
|
0
|
|
|
};
|
|
|
|
|
|
@@ -987,6 +988,16 @@ void cmCacheManager::DefineProperties(cmake *cm)
|
|
|
"which creates it (set, option, find_library, etc.)."
|
|
|
);
|
|
|
|
|
|
+ cm->DefineProperty
|
|
|
+ ("STRINGS", cmProperty::CACHE,
|
|
|
+ "Enumerate possible STRING entry values for GUI selection.",
|
|
|
+ "For cache entries with type STRING, this enumerates a set of values. "
|
|
|
+ "CMake GUIs may use this to provide a selection widget instead of a "
|
|
|
+ "generic string entry field. "
|
|
|
+ "This is for convenience only. "
|
|
|
+ "CMake does not enforce that the value matches one of those listed."
|
|
|
+ );
|
|
|
+
|
|
|
cm->DefineProperty
|
|
|
("VALUE", cmProperty::CACHE,
|
|
|
"Value of a cache entry.",
|