diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-08-10 16:55:41 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-08-10 16:55:41 (GMT) |
commit | e59e9d0e5972ef251157d412d4a0ae341caa379f (patch) | |
tree | 01ed394b0de6b1bd7a5d28b1afa5f14453231f72 /Source/cmOrderLinkDirectories.h | |
parent | b058a5e1aa8ac7c54552eff5519a9b43ab20a08d (diff) | |
download | CMake-e59e9d0e5972ef251157d412d4a0ae341caa379f.zip CMake-e59e9d0e5972ef251157d412d4a0ae341caa379f.tar.gz CMake-e59e9d0e5972ef251157d412d4a0ae341caa379f.tar.bz2 |
ENH: fix bug 2087 lib prefix stripped off on windows
Diffstat (limited to 'Source/cmOrderLinkDirectories.h')
-rw-r--r-- | Source/cmOrderLinkDirectories.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/Source/cmOrderLinkDirectories.h b/Source/cmOrderLinkDirectories.h index 6fdf3de..b514081 100644 --- a/Source/cmOrderLinkDirectories.h +++ b/Source/cmOrderLinkDirectories.h @@ -64,9 +64,14 @@ public: // CMAKE_SHARED_LIBRARY_SUFFIX // CMAKE_LINK_LIBRARY_SUFFIX void AddLinkExtension(const char* e) - { - m_LinkExtensions.push_back(e); - } + { + m_LinkExtensions.push_back(e); + } + // should be set from CMAKE_STATIC_LIBRARY_PREFIX + void SetLinkPrefix(const char* s) + { + m_LinkPrefix = s; + } // Return any warnings if the exist std::string GetWarnings(); // return a list of all full path libraries @@ -120,6 +125,8 @@ private: std::set<cmStdString> m_LinkPathSet; // the names of link extensions std::vector<cmStdString> m_LinkExtensions; + // the names of link prefixes + cmStdString m_LinkPrefix; // set of directories that can not be put in the correct order std::set<cmStdString> m_ImposibleDirectories; // library regular expressions |