diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-02-25 22:45:12 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-02-25 22:45:12 (GMT) |
commit | c4ca049e3fd1ad6aadb03e20e3a01bb6489d3dfd (patch) | |
tree | 7555f44c2caacbfd8a33a9b26b49eaed53dc1bd1 /Source/cmOrderLinkDirectories.cxx | |
parent | ea59fb06dfb7db4c7740248b09a33764febeb8e2 (diff) | |
download | CMake-c4ca049e3fd1ad6aadb03e20e3a01bb6489d3dfd.zip CMake-c4ca049e3fd1ad6aadb03e20e3a01bb6489d3dfd.tar.gz CMake-c4ca049e3fd1ad6aadb03e20e3a01bb6489d3dfd.tar.bz2 |
ENH: clean up and use order link directories
Diffstat (limited to 'Source/cmOrderLinkDirectories.cxx')
-rw-r--r-- | Source/cmOrderLinkDirectories.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/cmOrderLinkDirectories.cxx b/Source/cmOrderLinkDirectories.cxx index 6e2ef34..802891d 100644 --- a/Source/cmOrderLinkDirectories.cxx +++ b/Source/cmOrderLinkDirectories.cxx @@ -290,6 +290,7 @@ bool cmOrderLinkDirectories::DetermineLibraryPathOrder() this->PrepareLinkTargets(); if(m_ImposibleDirectories.size()) { + cmSystemTools::Message(this->GetWarnings().c_str()); return false; } return true; @@ -341,3 +342,13 @@ cmOrderLinkDirectories::PrintMap(const char* name, } } +void cmOrderLinkDirectories::GetFullPathLibraries(std::vector<cmStdString>& + libs) +{ + for(std::map<cmStdString, Library>::iterator i = m_FullPathLibraries.begin(); + i != m_FullPathLibraries.end(); ++i) + { + libs.push_back(i->first); + } + +} |