mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
ENH: change library order to use a vector
This commit is contained in:
@@ -93,6 +93,10 @@ bool TestLibraryOrder(bool shouldFail)
|
||||
orderLibs.SetLinkPrefix("lib");
|
||||
orderLibs.SetLinkInformation("test", linkLibraries, linkDirectories);
|
||||
bool ret = orderLibs.DetermineLibraryPathOrder();
|
||||
if(!ret)
|
||||
{
|
||||
std::cout << orderLibs.GetWarnings() << "\n";
|
||||
}
|
||||
orderLibs.GetLinkerInformation(sortedpaths, linkItems);
|
||||
std::cout << "Sorted Link Paths:\n";
|
||||
for(std::vector<cmStdString>::iterator i = sortedpaths.begin();
|
||||
|
||||
Reference in New Issue
Block a user