summaryrefslogtreecommitdiffstats
path: root/Tests/ComplexRelativePaths/Executable/complex.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-04-04 15:52:00 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-04-04 15:52:00 (GMT)
commitb45f4a5d450c4fd56fd564fe67be00c7aeb4b59a (patch)
tree652b5f33767fc80b8571ca2a91f028a916f0af00 /Tests/ComplexRelativePaths/Executable/complex.cxx
parent2301a025ea1ed9a61cf0028f88b32f726162fbf7 (diff)
downloadCMake-b45f4a5d450c4fd56fd564fe67be00c7aeb4b59a.zip
CMake-b45f4a5d450c4fd56fd564fe67be00c7aeb4b59a.tar.gz
CMake-b45f4a5d450c4fd56fd564fe67be00c7aeb4b59a.tar.bz2
ENH: change library order to use a vector
Diffstat (limited to 'Tests/ComplexRelativePaths/Executable/complex.cxx')
-rw-r--r--Tests/ComplexRelativePaths/Executable/complex.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/ComplexRelativePaths/Executable/complex.cxx b/Tests/ComplexRelativePaths/Executable/complex.cxx
index 60308a4..5b8cebd 100644
--- a/Tests/ComplexRelativePaths/Executable/complex.cxx
+++ b/Tests/ComplexRelativePaths/Executable/complex.cxx
@@ -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();