summaryrefslogtreecommitdiffstats
path: root/Tests
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
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')
-rw-r--r--Tests/Complex/Executable/complex.cxx4
-rw-r--r--Tests/ComplexOneConfig/Executable/complex.cxx4
-rw-r--r--Tests/ComplexRelativePaths/Executable/complex.cxx4
3 files changed, 12 insertions, 0 deletions
diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx
index 60308a4..5b8cebd 100644
--- a/Tests/Complex/Executable/complex.cxx
+++ b/Tests/Complex/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();
diff --git a/Tests/ComplexOneConfig/Executable/complex.cxx b/Tests/ComplexOneConfig/Executable/complex.cxx
index 60308a4..5b8cebd 100644
--- a/Tests/ComplexOneConfig/Executable/complex.cxx
+++ b/Tests/ComplexOneConfig/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();
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();