mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 11:50:11 -05:00
Rename cmProp in cmValue
This commit is contained in:
+4
-4
@@ -8,8 +8,8 @@
|
||||
#include <vector>
|
||||
|
||||
#include "cmListFileCache.h"
|
||||
#include "cmProperty.h"
|
||||
#include "cmPropertyMap.h"
|
||||
#include "cmValue.h"
|
||||
|
||||
class cmMakefile;
|
||||
|
||||
@@ -35,14 +35,14 @@ public:
|
||||
|
||||
//! Set/Get a property of this source 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) const;
|
||||
cmValue GetProperty(const std::string& prop) const;
|
||||
bool GetPropertyAsBool(const std::string& prop) const;
|
||||
cmPropertyMap& GetProperties() { return this->Properties; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user