makefile: Remove an unused method
This commit is contained in:
parent
f29754573d
commit
22c54a1090
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue