summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-09-21 15:12:35 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2021-09-21 15:14:04 (GMT)
commitcc56dc7468bfee49dedbf395d6fca5c372d200fe (patch)
treec4463a4dcdada55ca57cba3713fea88d8d2f3f57 /Source/cmake.h
parent62834c07603e82aafabc082bbbcf74179a4cda27 (diff)
downloadCMake-cc56dc7468bfee49dedbf395d6fca5c372d200fe.zip
CMake-cc56dc7468bfee49dedbf395d6fca5c372d200fe.tar.gz
CMake-cc56dc7468bfee49dedbf395d6fca5c372d200fe.tar.bz2
Rename cmProp in cmValue
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 7408044..3f2b2ed 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -21,10 +21,10 @@
#include "cmInstalledFile.h"
#include "cmListFileCache.h"
#include "cmMessageType.h"
-#include "cmProperty.h"
#include "cmState.h"
#include "cmStateSnapshot.h"
#include "cmStateTypes.h"
+#include "cmValue.h"
#if !defined(CMAKE_BOOTSTRAP)
# include <cm/optional>
@@ -329,21 +329,21 @@ public:
/**
* Given a variable name, return its value (as a string).
*/
- cmProp GetCacheDefinition(const std::string&) const;
+ cmValue GetCacheDefinition(const std::string&) const;
//! Add an entry into the cache
void AddCacheEntry(const std::string& key, const char* value,
const char* helpString, int type)
{
this->AddCacheEntry(key,
- value ? cmProp(std::string(value)) : cmProp(nullptr),
+ value ? cmValue(std::string(value)) : cmValue(nullptr),
helpString, type);
}
void AddCacheEntry(const std::string& key, const std::string& value,
const char* helpString, int type)
{
- this->AddCacheEntry(key, cmProp(value), helpString, type);
+ this->AddCacheEntry(key, cmValue(value), helpString, type);
}
- void AddCacheEntry(const std::string& key, cmProp value,
+ void AddCacheEntry(const std::string& key, cmValue value,
const char* helpString, int type);
bool DoWriteGlobVerifyTarget() const;
@@ -408,14 +408,14 @@ public:
//! Set/Get a property of this target file
void SetProperty(const std::string& prop, const char* value);
- void SetProperty(const std::string& prop, cmProp value);
+ void SetProperty(const std::string& prop, cmValue value);
void SetProperty(const std::string& prop, const std::string& value)
{
- this->SetProperty(prop, cmProp(value));
+ this->SetProperty(prop, cmValue(value));
}
void AppendProperty(const std::string& prop, const std::string& value,
bool asString = false);
- cmProp GetProperty(const std::string& prop);
+ cmValue GetProperty(const std::string& prop);
bool GetPropertyAsBool(const std::string& prop);
//! Get or create an cmInstalledFile instance and return a pointer to it