From 6354df92b12746dcb0f6fa263af2adf649cf1f3f Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 16 Jun 2014 09:36:24 -0400 Subject: cmTarget: Remove unused GetInterfaceLinkLibraries method --- Source/cmTarget.cxx | 23 ----------------------- Source/cmTarget.h | 3 --- 2 files changed, 26 deletions(-) diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 01edde9..3b7bfaf 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -1229,29 +1229,6 @@ void cmTarget::GetDirectLinkLibraries(const std::string& config, } //---------------------------------------------------------------------------- -void cmTarget::GetInterfaceLinkLibraries(const std::string& config, - std::vector &libs, - cmTarget const* head) const -{ - const char *prop = this->GetProperty("INTERFACE_LINK_LIBRARIES"); - if (prop) - { - cmGeneratorExpression ge; - const cmsys::auto_ptr 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, cmTarget::LinkLibraryType llt) const { diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 2d51835..3b1b40a 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -162,9 +162,6 @@ public: void GetDirectLinkLibraries(const std::string& config, std::vector &, cmTarget const* head) const; - void GetInterfaceLinkLibraries(const std::string& config, - std::vector &, - cmTarget const* head) const; /** Compute the link type to use for the given configuration. */ LinkLibraryType ComputeLinkType(const std::string& config) const; -- cgit v0.12