makefile: Remove an unused method

This commit is contained in:
Ben Boeckel 2014-01-31 10:45:30 -05:00 committed by Brad King
parent f29754573d
commit 22c54a1090
2 changed files with 0 additions and 11 deletions

View File

@ -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);

View File

@ -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;