diff options
author | Amitha Perera <perera@cs.rpi.edu> | 2002-05-10 17:35:42 (GMT) |
---|---|---|
committer | Amitha Perera <perera@cs.rpi.edu> | 2002-05-10 17:35:42 (GMT) |
commit | 0e6b39e52f561228e3e17bafe4bc7a44da88bf00 (patch) | |
tree | 565638d08eebd83d40cc7ff387b0bbc0994729f8 /Source/CMakeLists.txt | |
parent | 6b08b83d892672f0a5849af71441cb06dc2b45e8 (diff) | |
download | CMake-0e6b39e52f561228e3e17bafe4bc7a44da88bf00.zip CMake-0e6b39e52f561228e3e17bafe4bc7a44da88bf00.tar.gz CMake-0e6b39e52f561228e3e17bafe4bc7a44da88bf00.tar.bz2 |
BUG: Correct some of the dependency analysis code.
- Make sure the original link line is untouched
- Avoid duplicating the link line when supporting version < 1.4
- Make sure the cyclic dependencies and such are output correctly in
complicated cases.
- Avoid outputing dependencies that are already satisfied on the original
link line when possible.
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r-- | Source/CMakeLists.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 56713da..f21807b 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -177,6 +177,34 @@ IF(BUILD_TESTING) ${CMake_BINARY_DIR}/Tests/Dependency/WOLibOut/Exec Dependency) + ADD_TEST(dependency2 ${CMake_BINARY_DIR}/Source/cmaketest + ${CMake_SOURCE_DIR}/Tests/Dependency + ${CMake_BINARY_DIR}/Tests/Dependency/WithLibOut + exec2 + ${CMake_BINARY_DIR}/Tests/Dependency/WithLibOut/Exec2 + Dependency CMAKE_ARGS -DLIBRARY_OUTPUT_PATH:PATH=${CMake_BINARY_DIR}/Tests/Dependency/WithLibOut/Lib) + + ADD_TEST(dependency3 ${CMake_BINARY_DIR}/Source/cmaketest + ${CMake_SOURCE_DIR}/Tests/Dependency + ${CMake_BINARY_DIR}/Tests/Dependency/WithLibOut + exec3 + ${CMake_BINARY_DIR}/Tests/Dependency/WithLibOut/Exec3 + Dependency CMAKE_ARGS -DLIBRARY_OUTPUT_PATH:PATH=${CMake_BINARY_DIR}/Tests/Dependency/WithLibOut/Lib) + + ADD_TEST(dependency4 ${CMake_BINARY_DIR}/Source/cmaketest + ${CMake_SOURCE_DIR}/Tests/Dependency + ${CMake_BINARY_DIR}/Tests/Dependency/WithLibOut + exec4 + ${CMake_BINARY_DIR}/Tests/Dependency/WithLibOut/Exec4 + Dependency CMAKE_ARGS -DLIBRARY_OUTPUT_PATH:PATH=${CMake_BINARY_DIR}/Tests/Dependency/WithLibOut/Lib) + + ADD_TEST(linkline ${CMake_BINARY_DIR}/Source/cmaketest + ${CMake_SOURCE_DIR}/Tests/LinkLine + ${CMake_BINARY_DIR}/Tests/LinkLine + Exec + ${CMake_BINARY_DIR}/Tests/LinkLine + LinkLine) + ENDIF (DART_ROOT) ENDIF(BUILD_TESTING) |