mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 14:48:19 -05:00
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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user