summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-08-23 15:12:19 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-08-23 15:12:19 (GMT)
commit2190ddc4e931339c7f55f2fe7bbb4038c0a1199a (patch)
treeed3d1ac37a83d827b3bfc08a04356dd0608da34d /Source/CMakeLists.txt
parentabff98fb9dfb72a69aa34eddd53c34a2cf208f35 (diff)
downloadCMake-2190ddc4e931339c7f55f2fe7bbb4038c0a1199a.zip
CMake-2190ddc4e931339c7f55f2fe7bbb4038c0a1199a.tar.gz
CMake-2190ddc4e931339c7f55f2fe7bbb4038c0a1199a.tar.bz2
added test driver for make test target
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r--Source/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index fea985a..f0f3699 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -54,6 +54,8 @@ LINK_DIRECTORIES(${CMake_BINARY_DIR}/Sources)
ADD_EXECUTABLE(cmake cmakemain)
+ADD_EXECUTABLE(ctest ctest.cxx cmSystemTools.cxx cmRegularExpression.cxx)
+
IF(BUILD_TESTING)
IF (DART_ROOT)
ADD_EXECUTABLE(cmaketest cmaketest.cxx cmSystemTools.cxx)
@@ -74,4 +76,5 @@ ENDIF(BUILD_TESTING)
INSTALL_TARGETS(/bin cmake)
+INSTALL_TARGETS(/bin ctest)