summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeTests/CMakeLists.txt
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2007-04-11 19:13:05 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2007-04-11 19:13:05 (GMT)
commitf9f1ccadb370b7b3466d491b1824104d81a15308 (patch)
tree8428b8e66ce907c5befa5b86fa3fb6773722e8c4 /Tests/CMakeTests/CMakeLists.txt
parent76e5344590f6259fcfc73d35e286509f9e260678 (diff)
downloadCMake-f9f1ccadb370b7b3466d491b1824104d81a15308.zip
CMake-f9f1ccadb370b7b3466d491b1824104d81a15308.tar.gz
CMake-f9f1ccadb370b7b3466d491b1824104d81a15308.tar.bz2
ENH: Add variable watch command
Diffstat (limited to 'Tests/CMakeTests/CMakeLists.txt')
-rw-r--r--Tests/CMakeTests/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/CMakeTests/CMakeLists.txt b/Tests/CMakeTests/CMakeLists.txt
index a1eefb5..6f5167f 100644
--- a/Tests/CMakeTests/CMakeLists.txt
+++ b/Tests/CMakeTests/CMakeLists.txt
@@ -4,7 +4,8 @@ SET(CMAKE_EXECUTABLE "${EXECUTABLE_OUTPUT_PATH}/cmake")
MACRO(AddCMakeTest TestName Arguments)
CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/${TestName}Test.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/${TestName}Test.cmake" @ONLY IMMEDIATE)
- ADD_TEST(CMake.List ${CMAKE_EXECUTABLE} -P "${CMAKE_CURRENT_BINARY_DIR}/ListTest.cmake" ${Arguments})
+ ADD_TEST(CMake.${TestName} ${CMAKE_EXECUTABLE} -P "${CMAKE_CURRENT_BINARY_DIR}/${TestName}Test.cmake" ${Arguments})
ENDMACRO(AddCMakeTest)
AddCMakeTest(List "")
+AddCMakeTest(VariableWatch "")