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

Method SetProperty

Source/cmCacheManager.cxx:584–594  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

582}
583
584void cmCacheManager::CacheEntry::SetProperty(std::string const& prop,
585 std::string const& value)
586{
587 if (prop == "TYPE") {
588 this->Type = cmState::StringToCacheEntryType(value);
589 } else if (prop == "VALUE") {
590 this->Value = value;
591 } else {
592 this->Properties.SetProperty(prop, value);
593 }
594}
595
596void cmCacheManager::CacheEntry::SetProperty(std::string const& p, bool v)
597{

Callers 3

LoadCacheMethod · 0.45
ReadPropertyEntryMethod · 0.45
AddCacheEntryMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected