diff options
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(); |