Selaa lähdekoodia

BUG: Document internal cache property MODIFIED

All cmake-defined properties should be documented, even if they are
internal.  This fixes the DocTest when CMAKE_STRICT is enabled.
Brad King 16 vuotta sitten
vanhempi
sitoutus
5cde305b99
1 muutettua tiedostoa jossa 7 lisäystä ja 0 poistoa
  1. 7 0
      Source/cmCacheManager.cxx

+ 7 - 0
Source/cmCacheManager.cxx

@@ -992,6 +992,13 @@ void cmCacheManager::DefineProperties(cmake *cm)
      "which creates it (set, option, find_library, etc.)."
       );
 
+  cm->DefineProperty
+    ("MODIFIED", cmProperty::CACHE,
+     "Internal management property.  Do not set or get.",
+     "This is an internal cache entry property managed by CMake to "
+     "track interactive user modification of entries.  Ignore it."
+      );
+
   cm->DefineProperty
     ("STRINGS", cmProperty::CACHE,
      "Enumerate possible STRING entry values for GUI selection.",