cmTarget: Remove unused GetInterfaceLinkLibraries method
This commit is contained in:
parent
b1380ccc4b
commit
6354df92b1
|
@ -1228,29 +1228,6 @@ void cmTarget::GetDirectLinkLibraries(const std::string& config,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
|
||||||
void cmTarget::GetInterfaceLinkLibraries(const std::string& config,
|
|
||||||
std::vector<std::string> &libs,
|
|
||||||
cmTarget const* head) const
|
|
||||||
{
|
|
||||||
const char *prop = this->GetProperty("INTERFACE_LINK_LIBRARIES");
|
|
||||||
if (prop)
|
|
||||||
{
|
|
||||||
cmGeneratorExpression ge;
|
|
||||||
const cmsys::auto_ptr<cmCompiledGeneratorExpression> cge = ge.Parse(prop);
|
|
||||||
|
|
||||||
cmGeneratorExpressionDAGChecker dagChecker(
|
|
||||||
this->GetName(),
|
|
||||||
"INTERFACE_LINK_LIBRARIES", 0, 0);
|
|
||||||
cmSystemTools::ExpandListArgument(cge->Evaluate(this->Makefile,
|
|
||||||
config,
|
|
||||||
false,
|
|
||||||
head,
|
|
||||||
&dagChecker),
|
|
||||||
libs);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
std::string cmTarget::GetDebugGeneratorExpressions(const std::string &value,
|
std::string cmTarget::GetDebugGeneratorExpressions(const std::string &value,
|
||||||
cmTarget::LinkLibraryType llt) const
|
cmTarget::LinkLibraryType llt) const
|
||||||
|
|
|
@ -162,9 +162,6 @@ public:
|
||||||
void GetDirectLinkLibraries(const std::string& config,
|
void GetDirectLinkLibraries(const std::string& config,
|
||||||
std::vector<std::string> &,
|
std::vector<std::string> &,
|
||||||
cmTarget const* head) const;
|
cmTarget const* head) const;
|
||||||
void GetInterfaceLinkLibraries(const std::string& config,
|
|
||||||
std::vector<std::string> &,
|
|
||||||
cmTarget const* head) const;
|
|
||||||
|
|
||||||
/** Compute the link type to use for the given configuration. */
|
/** Compute the link type to use for the given configuration. */
|
||||||
LinkLibraryType ComputeLinkType(const std::string& config) const;
|
LinkLibraryType ComputeLinkType(const std::string& config) const;
|
||||||
|
|
Loading…
Reference in New Issue