diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-04-04 15:52:00 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-04-04 15:52:00 (GMT) |
commit | b45f4a5d450c4fd56fd564fe67be00c7aeb4b59a (patch) | |
tree | 652b5f33767fc80b8571ca2a91f028a916f0af00 /Tests | |
parent | 2301a025ea1ed9a61cf0028f88b32f726162fbf7 (diff) | |
download | CMake-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.cxx | 4 | ||||
-rw-r--r-- | Tests/ComplexOneConfig/Executable/complex.cxx | 4 | ||||
-rw-r--r-- | Tests/ComplexRelativePaths/Executable/complex.cxx | 4 |
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(); |