summaryrefslogtreecommitdiffstats
path: root/Source/cmOrderLinkDirectories.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-03-03 23:16:00 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-03-03 23:16:00 (GMT)
commitded7d151446dd889956c294188c7bf65e3063e96 (patch)
tree63317ae2801896f218948591de30a19e804d9219 /Source/cmOrderLinkDirectories.h
parenta0c095d420e07243af929f92e469d392e9ae26ba (diff)
downloadCMake-ded7d151446dd889956c294188c7bf65e3063e96.zip
CMake-ded7d151446dd889956c294188c7bf65e3063e96.tar.gz
CMake-ded7d151446dd889956c294188c7bf65e3063e96.tar.bz2
ENH: try number two with topological sort
Diffstat (limited to 'Source/cmOrderLinkDirectories.h')
-rw-r--r--Source/cmOrderLinkDirectories.h5
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;