diff options
author | Amitha Perera <perera@cs.rpi.edu> | 2002-11-19 23:01:05 (GMT) |
---|---|---|
committer | Amitha Perera <perera@cs.rpi.edu> | 2002-11-19 23:01:05 (GMT) |
commit | 939035ad91aff5de5a1b514176cd2765a1b9a728 (patch) | |
tree | 9994ce3571301afd9a375bd50eda63603b4de202 /Source/CMakeLists.txt | |
parent | 7140c6f364c55084d5e581cc7e603032ec4087b9 (diff) | |
download | CMake-939035ad91aff5de5a1b514176cd2765a1b9a728.zip CMake-939035ad91aff5de5a1b514176cd2765a1b9a728.tar.gz CMake-939035ad91aff5de5a1b514176cd2765a1b9a728.tar.bz2 |
BUG: the dependency analysis would incorrectly alphabetically re-order the
link lines, which affects external libraries pulled up from deep within
the dependency tree. Fixed by preserving order everywhere.
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r-- | Source/CMakeLists.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 8e3bfa5..a53eef1 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -262,6 +262,20 @@ IF(BUILD_TESTING) Exec ${CMake_BINARY_DIR}/Tests/LinkLine LinkLine) + + ADD_TEST(linkorder1 ${CMake_BINARY_DIR}/Source/cmaketest + ${CMake_SOURCE_DIR}/Tests/LinkLineOrder + ${CMake_BINARY_DIR}/Tests/LinkLineOrder + Exec1 + ${CMake_BINARY_DIR}/Tests/LinkLineOrder + LinkLineOrder) + + ADD_TEST(linkorder2 ${CMake_BINARY_DIR}/Source/cmaketest + ${CMake_SOURCE_DIR}/Tests/LinkLineOrder + ${CMake_BINARY_DIR}/Tests/LinkLineOrder + Exec2 + ${CMake_BINARY_DIR}/Tests/LinkLineOrder + LinkLineOrder) ENDIF(BUILD_TESTING) |