summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-10-05 13:05:57 (GMT)
committerBrad King <brad.king@kitware.com>2009-10-05 13:05:57 (GMT)
commit847875bebd79c45501dc2d584a6fd854397c5936 (patch)
treed3b61af6b69074bca0bace8cb5dbe2b52a439d25 /Source
parentb783fbd04c3782b6eea77143feb6233c8e14e9a8 (diff)
downloadCMake-847875bebd79c45501dc2d584a6fd854397c5936.zip
CMake-847875bebd79c45501dc2d584a6fd854397c5936.tar.gz
CMake-847875bebd79c45501dc2d584a6fd854397c5936.tar.bz2
Remove unused cmTarget::AddLinkLibrary method
Diffstat (limited to 'Source')
-rw-r--r--Source/cmTarget.cxx12
-rw-r--r--Source/cmTarget.h3
2 files changed, 0 insertions, 15 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 63a1ae5..7a1d014 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -1606,18 +1606,6 @@ void cmTarget::ClearDependencyInformation( cmMakefile& mf,
}
//----------------------------------------------------------------------------
-void cmTarget::AddLinkLibrary(const std::string& lib,
- LinkLibraryType llt)
-{
- this->AddFramework(lib.c_str(), llt);
- cmTarget::LibraryID tmp;
- tmp.first = lib;
- tmp.second = llt;
- this->LinkLibraries.push_back(tmp);
- this->OriginalLinkLibraries.push_back(tmp);
-}
-
-//----------------------------------------------------------------------------
bool cmTarget::NameResolvesToFramework(const std::string& libname)
{
return this->GetMakefile()->GetLocalGenerator()->GetGlobalGenerator()->
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 7f44bb5..e8a82a5 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -183,9 +183,6 @@ public:
const char *target, const char* lib,
LinkLibraryType llt);
- void AddLinkLibrary(const std::string& lib,
- LinkLibraryType llt);
-
void MergeLinkLibraries( cmMakefile& mf, const char* selfname,
const LinkLibraryVectorType& libs );