summaryrefslogtreecommitdiffstats
path: root/Source/cmOrderLinkDirectories.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-02-25 22:45:12 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-02-25 22:45:12 (GMT)
commitc4ca049e3fd1ad6aadb03e20e3a01bb6489d3dfd (patch)
tree7555f44c2caacbfd8a33a9b26b49eaed53dc1bd1 /Source/cmOrderLinkDirectories.cxx
parentea59fb06dfb7db4c7740248b09a33764febeb8e2 (diff)
downloadCMake-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.cxx11
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);
+ }
+
+}