diff options
author | Brad King <brad.king@kitware.com> | 2004-01-22 15:36:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2004-01-22 15:36:14 (GMT) |
commit | 778af637eab4716e3635a09988dd3c2fb582497f (patch) | |
tree | 07637e5a4eb481f656bda3acc97f7d3cf31c0296 /Source | |
parent | 49bd89fe31f9a5d064c9ae863798349838badc21 (diff) | |
download | CMake-778af637eab4716e3635a09988dd3c2fb582497f.zip CMake-778af637eab4716e3635a09988dd3c2fb582497f.tar.gz CMake-778af637eab4716e3635a09988dd3c2fb582497f.tar.bz2 |
ENH: Added JumpWithLibOut and JumpNoLibOut to test whether jumping over to build a missing library works.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CMakeLists.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index e365be3..452d998 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -447,6 +447,30 @@ IF(BUILD_TESTING) --test-command exec4 ) + ADD_TEST(JumpWithLibOut ${CMAKE_CTEST_COMMAND} + --build-and-test + "${CMake_SOURCE_DIR}/Tests/Jump" + "${CMake_BINARY_DIR}/Tests/Jump/WithLibOut" + --build-exe-dir "${CMake_BINARY_DIR}/Tests/Jump/WithLibOut/Executable" + --build-project Dependency + --build-generator ${CMAKE_GENERATOR} + --build-makeprogram ${MAKEPROGRAM} + --build-options + -DLIBRARY_OUTPUT_PATH:PATH=${CMake_BINARY_DIR}/Tests/Jump/WithLibOut/Lib + --test-command jumpExecutable + ) + + ADD_TEST(JumpNoLibOut ${CMAKE_CTEST_COMMAND} + --build-and-test + "${CMake_SOURCE_DIR}/Tests/Jump" + "${CMake_BINARY_DIR}/Tests/Jump/NoLibOut" + --build-exe-dir "${CMake_BINARY_DIR}/Tests/Jump/NoLibOut/Executable" + --build-project Dependency + --build-generator ${CMAKE_GENERATOR} + --build-makeprogram ${MAKEPROGRAM} + --test-command jumpExecutable + ) + ADD_TEST(linkline ${CMAKE_CTEST_COMMAND} --build-and-test "${CMake_SOURCE_DIR}/Tests/LinkLine" |