summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-08-23 21:40:07 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-08-23 21:40:07 (GMT)
commita4f40c31f1e160ab34d90c1a5e9ed5ab6cc1de59 (patch)
tree554853021dba4b552bb22235b2f9a15a662fc989 /Source/CMakeLists.txt
parent852be8a520a8a03268b499642c5257675b9ad7f2 (diff)
downloadCMake-a4f40c31f1e160ab34d90c1a5e9ed5ab6cc1de59.zip
CMake-a4f40c31f1e160ab34d90c1a5e9ed5ab6cc1de59.tar.gz
CMake-a4f40c31f1e160ab34d90c1a5e9ed5ab6cc1de59.tar.bz2
ENH: add dump documentation test
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 1eb94ff..84d5042 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -53,6 +53,7 @@ LINK_LIBRARIES(CMakeLib)
LINK_DIRECTORIES(${CMake_BINARY_DIR}/Sources)
ADD_EXECUTABLE(cmake cmakemain)
+ADD_EXECUTABLE(DumpDocumentation cmDumpDocumentation)
ADD_EXECUTABLE(ctest ctest.cxx cmSystemTools.cxx cmRegularExpression.cxx)
@@ -66,6 +67,8 @@ IF(BUILD_TESTING)
CONFIGURE_FILE(
${CMake_SOURCE_DIR}/Source/cmaketest.h.in
${CMake_BINARY_DIR}/Source/cmaketest.h ESCAPE_QUOTES)
+ ADD_TEST(DumpDocumentation ${CMake_BINARY_DIR}/Source/DumpDocumentation
+ ${CMake_BINARY_DIR}/CMakeDoc.html )
ADD_TEST(simple ${CMake_BINARY_DIR}/Source/cmaketest
${CMake_SOURCE_DIR}/Tests/Simple
${CMake_BINARY_DIR}/Tests/Simple simple )