ENH: add test for a simple depend test, does an exe re-link if a library that it uses changes

This commit is contained in:
Bill Hoffman 2007-05-10 10:31:44 -04:00
parent 1f286c067f
commit 18b7cbd700
1 changed files with 9 additions and 0 deletions

View File

@ -593,6 +593,15 @@ IF(BUILD_TESTING)
--build-two-config --build-two-config
--test-command miniMacroTest) --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 SET(SimpleInstallInstallDir
"${CMake_BINARY_DIR}/Tests/SimpleInstall/InstallDirectory") "${CMake_BINARY_DIR}/Tests/SimpleInstall/InstallDirectory")
ADD_TEST(SimpleInstall ${CMAKE_CTEST_COMMAND} ADD_TEST(SimpleInstall ${CMAKE_CTEST_COMMAND}