mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 22:50:26 -06:00
ENH: Get accessor for cache value as boolean
This commit is contained in:
@@ -60,6 +60,7 @@ public:
|
||||
void SetProperty(const char* property, const char* value);
|
||||
void SetProperty(const char* property, bool value);
|
||||
const char* GetValue() const { return this->GetEntry().m_Value.c_str(); }
|
||||
bool GetValueAsBool() const;
|
||||
void SetValue(const char*);
|
||||
CacheEntryType GetType() const { return this->GetEntry().m_Type; }
|
||||
bool Initialized() { return this->GetEntry().m_Initialized; }
|
||||
|
||||
Reference in New Issue
Block a user