summaryrefslogtreecommitdiffstats
path: root/Source/cmProperty.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmProperty.h')
-rw-r--r--Source/cmProperty.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/cmProperty.h b/Source/cmProperty.h
index bb75bb0..659c4c3 100644
--- a/Source/cmProperty.h
+++ b/Source/cmProperty.h
@@ -18,19 +18,20 @@ class cmProperty
{
public:
enum ScopeType { TARGET, SOURCE_FILE, DIRECTORY, GLOBAL, CACHE,
- TEST, VARIABLE, CACHED_VARIABLE };
+ TEST, VARIABLE, CACHED_VARIABLE, INSTALL };
// set this property
- void Set(const char *name, const char *value);
+ void Set(const std::string& name, const char *value);
// append to this property
- void Append(const char *name, const char *value, bool asString = false);
+ void Append(const std::string& name, const char *value,
+ bool asString = false);
// get the value
const char *GetValue() const;
// construct with the value not set
- cmProperty() { this->ValueHasBeenSet = false; };
+ cmProperty() { this->ValueHasBeenSet = false; }
protected:
std::string Name;