summaryrefslogtreecommitdiffstats
path: root/Source/cmTest.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmTest.h')
-rw-r--r--Source/cmTest.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/cmTest.h b/Source/cmTest.h
index f33b7e2..85978da 100644
--- a/Source/cmTest.h
+++ b/Source/cmTest.h
@@ -9,6 +9,7 @@
#include "cmListFileCache.h"
#include "cmPropertyMap.h"
+#include "cmValue.h"
class cmMakefile;
@@ -34,9 +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, cmValue value);
+ void SetProperty(const std::string& prop, const std::string& value)
+ {
+ this->SetProperty(prop, cmValue(value));
+ }
void AppendProperty(const std::string& prop, const std::string& value,
bool asString = false);
- const char* 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; }