MCPcopy Create free account
hub / github.com/Kitware/CMake / GetCacheEntryPropertyAsBool

Method GetCacheEntryPropertyAsBool

Source/cmCacheManager.h:117–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115 }
116
117 bool GetCacheEntryPropertyAsBool(std::string const& key,
118 std::string const& propName) const
119 {
120 if (auto const* entry = this->GetCacheEntry(key)) {
121 return entry->GetPropertyAsBool(propName);
122 }
123 return false;
124 }
125
126 void SetCacheEntryProperty(std::string const& key,
127 std::string const& propName,

Callers

nothing calls this directly

Calls 2

GetCacheEntryMethod · 0.95
GetPropertyAsBoolMethod · 0.45

Tested by

no test coverage detected