summaryrefslogtreecommitdiffstats
path: root/Source/cmTest.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmTest.h')
-rw-r--r--Source/cmTest.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmTest.h b/Source/cmTest.h
index 63e5e87..a790501 100644
--- a/Source/cmTest.h
+++ b/Source/cmTest.h
@@ -35,6 +35,11 @@ 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, const std::string& value)
+ {
+ this->SetProperty(prop, cmProp(value));
+ }
void AppendProperty(const std::string& prop, const std::string& value,
bool asString = false);
cmProp GetProperty(const std::string& prop) const;