diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-02-13 10:26:08 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-02-24 15:43:23 (GMT) |
commit | 326d07d27ec173d3e67a314010764ebbe7b2aa9c (patch) | |
tree | c966778dae9317edab16c83131e775de53121e86 /Source/cmTarget.cxx | |
parent | 21e91350b06b562ac2668c6ff2a3b220e41d4bc1 (diff) | |
download | CMake-326d07d27ec173d3e67a314010764ebbe7b2aa9c.zip CMake-326d07d27ec173d3e67a314010764ebbe7b2aa9c.tar.gz CMake-326d07d27ec173d3e67a314010764ebbe7b2aa9c.tar.bz2 |
cmTarget: Extract a ComputeLinkImplementationLanguages method.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index faf53c1..bc57c51 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -5537,6 +5537,7 @@ cmTarget::GetLinkImplementation(const char* config, cmTarget const* head) const // Compute the link implementation for this configuration. LinkImplementation impl; this->ComputeLinkImplementation(config, impl, head); + this->ComputeLinkImplementationLanguages(impl); // Store the information for this configuration. cmTargetInternals::LinkImplMapType::value_type entry(key, impl); @@ -5619,7 +5620,12 @@ void cmTarget::ComputeLinkImplementation(const char* config, impl.WrongConfigLibraries.push_back(item); } } +} +//---------------------------------------------------------------------------- +void +cmTarget::ComputeLinkImplementationLanguages(LinkImplementation& impl) const +{ // This target needs runtime libraries for its source languages. std::set<cmStdString> languages; // Get languages used in our source files. |