summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-06-16 09:36:24 -0400
committerBrad King <brad.king@kitware.com>2014-06-23 08:50:08 -0400
commit6354df92b12746dcb0f6fa263af2adf649cf1f3f (patch)
tree00c0f90056cbd125b07a12fcebef83bec0448658
parentb1380ccc4b7bcf5acc07f89468d78852e179e484 (diff)
downloadcmake-6354df92b12746dcb0f6fa263af2adf649cf1f3f.tar.gz
cmTarget: Remove unused GetInterfaceLinkLibraries method
-rw-r--r--Source/cmTarget.cxx23
-rw-r--r--Source/cmTarget.h3
2 files changed, 0 insertions, 26 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 01edde9000..3b7bfafb5c 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<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,
cmTarget::LinkLibraryType llt) const
{
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 2d51835e34..3b1b40a269 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -162,9 +162,6 @@ public:
void GetDirectLinkLibraries(const std::string& config,
std::vector<std::string> &,
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. */
LinkLibraryType ComputeLinkType(const std::string& config) const;