Remove redundant cmake::GetIsPropertyDefined method
We already have cmake::IsPropertyDefined for the same reason.
This commit is contained in:
parent
4c4bafdeab
commit
bbfff5233d
@ -6823,7 +6823,7 @@ void checkPropertyConsistency(cmTarget *depender, cmTarget *dependee,
|
|||||||
pi != props.end(); ++pi)
|
pi != props.end(); ++pi)
|
||||||
{
|
{
|
||||||
if (depender->GetMakefile()->GetCMakeInstance()
|
if (depender->GetMakefile()->GetCMakeInstance()
|
||||||
->GetIsPropertyDefined(pi->c_str(),
|
->IsPropertyDefined(pi->c_str(),
|
||||||
cmProperty::TARGET))
|
cmProperty::TARGET))
|
||||||
{
|
{
|
||||||
cmOStringStream e;
|
cmOStringStream e;
|
||||||
|
@ -3640,13 +3640,6 @@ void cmake::DefineProperty(const char *name, cmProperty::ScopeType scope,
|
|||||||
chained);
|
chained);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool cmake::GetIsPropertyDefined(const char *name,
|
|
||||||
cmProperty::ScopeType scope)
|
|
||||||
{
|
|
||||||
return this->PropertyDefinitions[scope].find(name) !=
|
|
||||||
this->PropertyDefinitions[scope].end();
|
|
||||||
}
|
|
||||||
|
|
||||||
cmPropertyDefinition *cmake
|
cmPropertyDefinition *cmake
|
||||||
::GetPropertyDefinition(const char *name,
|
::GetPropertyDefinition(const char *name,
|
||||||
cmProperty::ScopeType scope)
|
cmProperty::ScopeType scope)
|
||||||
|
@ -349,8 +349,6 @@ class cmake
|
|||||||
bool chain = false,
|
bool chain = false,
|
||||||
const char *variableGroup = 0);
|
const char *variableGroup = 0);
|
||||||
|
|
||||||
bool GetIsPropertyDefined(const char *name, cmProperty::ScopeType scope);
|
|
||||||
|
|
||||||
// get property definition
|
// get property definition
|
||||||
cmPropertyDefinition *GetPropertyDefinition
|
cmPropertyDefinition *GetPropertyDefinition
|
||||||
(const char *name, cmProperty::ScopeType scope);
|
(const char *name, cmProperty::ScopeType scope);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user