summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-05 15:37:49 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-26 17:46:32 (GMT)
commitd4a24c0e953e0032a2e483917850b7f8f387bbb2 (patch)
treec4ee40746dcf84e0565a86da3293d20b7f8094e7 /Source/cmTarget.cxx
parent83981cf5931aaa2d9bbf4f99ea55c99736173fdf (diff)
downloadCMake-d4a24c0e953e0032a2e483917850b7f8f387bbb2.zip
CMake-d4a24c0e953e0032a2e483917850b7f8f387bbb2.tar.gz
CMake-d4a24c0e953e0032a2e483917850b7f8f387bbb2.tar.bz2
cmGeneratorTarget: Move GetLinkImplementation from cmTarget.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx24
1 files changed, 0 insertions, 24 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 2e37c08..a8ea0b8 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -3564,30 +3564,6 @@ void cmTargetInternals::AddInterfaceEntries(
}
}
-//----------------------------------------------------------------------------
-const cmLinkImplementation *
-cmTarget::GetLinkImplementation(const std::string& config) const
-{
- // There is no link implementation for imported targets.
- if(this->IsImported())
- {
- return 0;
- }
-
- cmOptionalLinkImplementation& impl = this->GetLinkImplMap(config);
- if(!impl.LibrariesDone)
- {
- impl.LibrariesDone = true;
- this->ComputeLinkImplementationLibraries(config, impl, this);
- }
- if(!impl.LanguagesDone)
- {
- impl.LanguagesDone = true;
- this->ComputeLinkImplementationLanguages(config, impl);
- }
- return &impl;
-}
-
cmOptionalLinkImplementation&
cmTarget::GetLinkImplMap(std::string const& config) const
{