diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2021-08-09 14:37:14 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2021-08-09 14:37:14 (GMT) |
commit | 97ed474431426a50e6080a1cef8098fce297a940 (patch) | |
tree | fca450c5d1c37a8066c826b58b71bde6f6156885 /Source/cmTest.h | |
parent | 7e3250da2fa0155a8c83b3aadef0407a701f2953 (diff) | |
download | CMake-97ed474431426a50e6080a1cef8098fce297a940.zip CMake-97ed474431426a50e6080a1cef8098fce297a940.tar.gz CMake-97ed474431426a50e6080a1cef8098fce297a940.tar.bz2 |
Refactor: cmTest::GetProperty returns cmProp
Diffstat (limited to 'Source/cmTest.h')
-rw-r--r-- | Source/cmTest.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmTest.h b/Source/cmTest.h index f33b7e2..63e5e87 100644 --- a/Source/cmTest.h +++ b/Source/cmTest.h @@ -8,6 +8,7 @@ #include <vector> #include "cmListFileCache.h" +#include "cmProperty.h" #include "cmPropertyMap.h" class cmMakefile; @@ -36,7 +37,7 @@ public: void SetProperty(const std::string& prop, const char* value); void AppendProperty(const std::string& prop, const std::string& value, bool asString = false); - const char* GetProperty(const std::string& prop) const; + cmProp GetProperty(const std::string& prop) const; bool GetPropertyAsBool(const std::string& prop) const; cmPropertyMap& GetProperties() { return this->Properties; } |