From 1936242ad4b93323ec9d8f4166b2fc63733eba62 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 7 Dec 2006 10:15:41 -0500 Subject: ENH: add test I removed by mistake --- Source/CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index ebb8112..ab2c77e 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -411,6 +411,18 @@ IF(BUILD_TESTING) ${CMake_SOURCE_DIR}/Tests/TargetName/scripts/hello_world ${CMake_BINARY_DIR}/Tests/TargetName/scripts/hello_world) + ADD_TEST(LibName ${CMAKE_CTEST_COMMAND} + --build-and-test + "${CMake_SOURCE_DIR}/Tests/LibName" + "${CMake_BINARY_DIR}/Tests/LibName" + --build-two-config + --build-generator ${CMAKE_TEST_GENERATOR} + --build-makeprogram ${CMAKE_TEST_MAKEPROGRAM} + --build-project LibName + --build-exe-dir "${CMake_BINARY_DIR}/Tests/LibName/lib" + --test-command foobar + ) + ADD_TEST(CustComDepend ${CMAKE_CTEST_COMMAND} --build-and-test "${CMake_SOURCE_DIR}/Tests/CustComDepend" -- cgit v0.12