summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkDepends.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/cmComputeLinkDepends.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/cmComputeLinkDepends.h')
-rw-r--r--Source/cmComputeLinkDepends.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmComputeLinkDepends.h b/Source/cmComputeLinkDepends.h
index 3e42580..1b2809b 100644
--- a/Source/cmComputeLinkDepends.h
+++ b/Source/cmComputeLinkDepends.h
@@ -58,6 +58,10 @@ public:
std::set<cmTarget*> const& GetOldWrongConfigItems() const
{ return this->OldWrongConfigItems; }
+ /** Set a regular expression that matches strings ending in a shared
+ library extension. */
+ void SetSharedRegex(std::string const& regex);
+
private:
// Context information.
@@ -137,6 +141,7 @@ private:
// Preservation of original link line.
std::vector<int> OriginalEntries;
void PreserveOriginalEntries();
+ std::string SharedRegexString;
// Compatibility help.
bool OldLinkDirMode;