diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2007-05-10 14:31:44 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2007-05-10 14:31:44 (GMT) |
commit | 18b7cbd700b453a76ad40da45263968bff7d2a91 (patch) | |
tree | fa726ee1e1830feac273d4e7c682e3524c7c9d31 | |
parent | 1f286c067f564372afc10b7d8d294aa3350bc150 (diff) | |
download | CMake-18b7cbd700b453a76ad40da45263968bff7d2a91.zip CMake-18b7cbd700b453a76ad40da45263968bff7d2a91.tar.gz CMake-18b7cbd700b453a76ad40da45263968bff7d2a91.tar.bz2 |
ENH: add test for a simple depend test, does an exe re-link if a library that it uses changes
-rw-r--r-- | Source/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 720963c..0b9529c 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -593,6 +593,15 @@ IF(BUILD_TESTING) --build-two-config --test-command miniMacroTest) + ADD_TEST(BuildDepends ${CMAKE_CTEST_COMMAND} + --build-and-test + "${CMake_SOURCE_DIR}/Tests/BuildDepends" + "${CMake_BINARY_DIR}/Tests/BuildDepends" + --build-generator ${CMAKE_TEST_GENERATOR} + --build-project BuildDepends + --build-makeprogram ${CMAKE_TEST_MAKEPROGRAM} + ) + SET(SimpleInstallInstallDir "${CMake_BINARY_DIR}/Tests/SimpleInstall/InstallDirectory") ADD_TEST(SimpleInstall ${CMAKE_CTEST_COMMAND} |