summaryrefslogtreecommitdiffstats
path: root/Source/cmProperty.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmProperty.cxx')
-rw-r--r--Source/cmProperty.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/cmProperty.cxx b/Source/cmProperty.cxx
index dbfeae9..5e082dc 100644
--- a/Source/cmProperty.cxx
+++ b/Source/cmProperty.cxx
@@ -24,6 +24,17 @@ void cmProperty::Set(const char *name, const char *value)
this->ValueHasBeenSet = true;
}
+void cmProperty::Append(const char *name, const char *value)
+{
+ this->Name = name;
+ if(!this->Value.empty() && *value)
+ {
+ this->Value += ";";
+ }
+ this->Value += value;
+ this->ValueHasBeenSet = true;
+}
+
const char *cmProperty::GetValue() const
{
if (this->ValueHasBeenSet)