diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-03-02 22:49:11 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-03-02 22:49:11 (GMT) |
commit | 7007b41dcb28801f4f467f037b3a3e98a8b4c02b (patch) | |
tree | 07d292d319b087a5571b928f9ad905bdf8259363 /Source/cmOrderLinkDirectories.h | |
parent | 0f4cafe722fa640e81e62263112c6a994e9854e2 (diff) | |
download | CMake-7007b41dcb28801f4f467f037b3a3e98a8b4c02b.zip CMake-7007b41dcb28801f4f467f037b3a3e98a8b4c02b.tar.gz CMake-7007b41dcb28801f4f467f037b3a3e98a8b4c02b.tar.bz2 |
ENH: fix library ordering stuff to use a topological sort
Diffstat (limited to 'Source/cmOrderLinkDirectories.h')
-rw-r--r-- | Source/cmOrderLinkDirectories.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmOrderLinkDirectories.h b/Source/cmOrderLinkDirectories.h index 6634f23..09441b9 100644 --- a/Source/cmOrderLinkDirectories.h +++ b/Source/cmOrderLinkDirectories.h @@ -91,10 +91,7 @@ private: void PrintMap(const char* name, std::map<cmStdString, std::vector<cmStdString> >& m); void OrderPaths(std::vector<cmStdString>& paths); - bool CanBeBefore(const cmStdString& d1, - const cmStdString& d2); - void AddImpossible(const cmStdString& , - const cmStdString& ); + bool FindPathNotInDirectoryToAfterList(cmStdString& path); private: // map from library to directories that it is in other than its full path std::map<cmStdString, std::vector<cmStdString> > m_LibraryToDirectories; |