diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-05 15:37:50 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-26 17:46:32 (GMT) |
commit | 0431f2c4d7cbfcd873bc34caee9ed09253e8c8ad (patch) | |
tree | b38335484e57492a77430de5ca2e2dedcb46400a /Source/cmTarget.cxx | |
parent | abe9505df94e9a1511238c41f9d4459064148c94 (diff) | |
download | CMake-0431f2c4d7cbfcd873bc34caee9ed09253e8c8ad.zip CMake-0431f2c4d7cbfcd873bc34caee9ed09253e8c8ad.tar.gz CMake-0431f2c4d7cbfcd873bc34caee9ed09253e8c8ad.tar.bz2 |
cmGeneratorTarget: Move ComputeLinkImplementationLanguages from cmTarget.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 9073f82..f395c45 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -3705,20 +3705,6 @@ void cmTarget::ComputeLinkImplementationLibraries( } //---------------------------------------------------------------------------- -void cmTarget::ComputeLinkImplementationLanguages( - const std::string& config, - cmOptionalLinkImplementation& impl) const -{ - // This target needs runtime libraries for its source languages. - std::set<std::string> languages; - // Get languages used in our source files. - this->GetLanguages(languages, config); - // Copy the set of langauges to the link implementation. - impl.Languages.insert(impl.Languages.begin(), - languages.begin(), languages.end()); -} - -//---------------------------------------------------------------------------- cmTarget const* cmTarget::FindTargetToLink(std::string const& name) const { cmTarget const* tgt = this->Makefile->FindTargetToUse(name); |