summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkInformation.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-04-30 22:04:48 (GMT)
committerBrad King <brad.king@kitware.com>2008-04-30 22:04:48 (GMT)
commit3a5bdaa21319665405104964562dd471aee7cb48 (patch)
tree935e1dea807312fc591a429f340dc3efe744c944 /Source/cmComputeLinkInformation.h
parent9631c499dc31ea1aba70201afc1a565b84c33620 (diff)
downloadCMake-3a5bdaa21319665405104964562dd471aee7cb48.zip
CMake-3a5bdaa21319665405104964562dd471aee7cb48.tar.gz
CMake-3a5bdaa21319665405104964562dd471aee7cb48.tar.bz2
ENH: When preserving potentially static portions of original user link lines recognize shared library names by their extension and skip them.
Diffstat (limited to 'Source/cmComputeLinkInformation.h')
-rw-r--r--Source/cmComputeLinkInformation.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmComputeLinkInformation.h b/Source/cmComputeLinkInformation.h
index 31d0e33..0ac0afc 100644
--- a/Source/cmComputeLinkInformation.h
+++ b/Source/cmComputeLinkInformation.h
@@ -129,6 +129,7 @@ private:
cmsys::RegularExpression ExtractStaticLibraryName;
cmsys::RegularExpression ExtractSharedLibraryName;
cmsys::RegularExpression ExtractAnyLibraryName;
+ std::string SharedRegexString;
void AddLinkPrefix(const char* p);
void AddLinkExtension(const char* e, LinkType type);
std::string CreateExtensionRegex(std::vector<std::string> const& exts);