summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-01-31 10:45:30 -0500
committerBrad King <brad.king@kitware.com>2014-03-08 13:05:29 -0500
commit22c54a109050d026269f57dddc0ce0f146fc149d (patch)
treef8936dd279703628cf9872b8af2639c56e6150c2 /Source
parentf29754573d2b2a199f17be80eb01ae309699bb23 (diff)
downloadcmake-22c54a109050d026269f57dddc0ce0f146fc149d.tar.gz
makefile: Remove an unused method
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefile.cxx10
-rw-r--r--Source/cmMakefile.h1
2 files changed, 0 insertions, 11 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index edf33c19ac..76b3b09fea 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -3662,16 +3662,6 @@ void cmMakefile::AppendProperty(const std::string& prop,
this->Properties.AppendProperty(prop,value,cmProperty::DIRECTORY,asString);
}
-const char *cmMakefile::GetPropertyOrDefinition(const std::string& prop) const
-{
- const char *ret = this->GetProperty(prop, cmProperty::DIRECTORY);
- if (!ret)
- {
- ret = this->GetDefinition(prop.c_str());
- }
- return ret;
-}
-
const char *cmMakefile::GetProperty(const std::string& prop) const
{
return this->GetProperty(prop, cmProperty::DIRECTORY);
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 79931adb81..559d49cc11 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -804,7 +804,6 @@ public:
void AppendProperty(const std::string& prop, const char *value,
bool asString=false);
const char *GetProperty(const std::string& prop) const;
- const char *GetPropertyOrDefinition(const std::string& prop) const;
const char *GetProperty(const std::string& prop,
cmProperty::ScopeType scope) const;
bool GetPropertyAsBool(const std::string& prop) const;