summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkInformation.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-08-24 17:15:47 (GMT)
committerBrad King <brad.king@kitware.com>2009-08-24 17:15:47 (GMT)
commit8aaf3cebeb0388eb7dde7b49ce4e7150b65908d7 (patch)
tree8b9a33e65552d65b40110f5b417ff3de62c2ae7a /Source/cmComputeLinkInformation.h
parent6e7020b452160865e9d546bb9ce581a49f3532ce (diff)
downloadCMake-8aaf3cebeb0388eb7dde7b49ce4e7150b65908d7.zip
CMake-8aaf3cebeb0388eb7dde7b49ce4e7150b65908d7.tar.gz
CMake-8aaf3cebeb0388eb7dde7b49ce4e7150b65908d7.tar.bz2
Factor implicit link info addition into methods
In cmComputeLinkInformation::Compute we add implicit link information from languages other than the linker language to the end of the link line. This factors out that code into separate methods to improve readability and organization.
Diffstat (limited to 'Source/cmComputeLinkInformation.h')
-rw-r--r--Source/cmComputeLinkInformation.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmComputeLinkInformation.h b/Source/cmComputeLinkInformation.h
index 1fafc13..419776b 100644
--- a/Source/cmComputeLinkInformation.h
+++ b/Source/cmComputeLinkInformation.h
@@ -163,6 +163,8 @@ private:
// Implicit link libraries and directories for linker language.
void LoadImplicitLinkInfo();
+ void AddImplicitLinkInfo();
+ void AddImplicitLinkInfo(std::string const& lang);
std::set<cmStdString> ImplicitLinkDirs;
std::set<cmStdString> ImplicitLinkLibs;