summaryrefslogtreecommitdiffstats
path: root/Tests/CommandLineTest
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-12-08 14:38:36 (GMT)
committerBrad King <brad.king@kitware.com>2009-12-08 14:38:36 (GMT)
commit1d91bc64aa824c58ddcffeae4efb14d89a89c493 (patch)
tree773e2247ff84d25396a8b6c13a725e8d6ec890e1 /Tests/CommandLineTest
parentf1d4f951d625c0168c445eb6512463dcc2f4a0cf (diff)
downloadCMake-1d91bc64aa824c58ddcffeae4efb14d89a89c493.zip
CMake-1d91bc64aa824c58ddcffeae4efb14d89a89c493.tar.gz
CMake-1d91bc64aa824c58ddcffeae4efb14d89a89c493.tar.bz2
Remove unused DumpDocumentation code
The DumpDocumentation executable and some supporting code and tests were completely unused by CMake. Generation of documentation is done by the individual executables with --help* options. In this commit we simply remove the unused code, executable, and test.
Diffstat (limited to 'Tests/CommandLineTest')
-rw-r--r--Tests/CommandLineTest/CMakeLists.txt10
1 files changed, 0 insertions, 10 deletions
diff --git a/Tests/CommandLineTest/CMakeLists.txt b/Tests/CommandLineTest/CMakeLists.txt
index e01a4c7..0493a0c 100644
--- a/Tests/CommandLineTest/CMakeLists.txt
+++ b/Tests/CommandLineTest/CMakeLists.txt
@@ -2,7 +2,6 @@ cmake_minimum_required (VERSION 2.6)
PROJECT(CommandLineTest)
GET_FILENAME_COMPONENT(CMAKE_BIN_DIR ${CMAKE_COMMAND} PATH)
-FIND_PROGRAM(DUMP_DOC_EXE NAMES DumpDocumentation PATHS ${CMAKE_BIN_DIR})
MACRO(EXEC_CMAKE_COMMAND CMAKE_ARGS)
EXEC_PROGRAM("${CMAKE_COMMAND}" ARGS "${CMAKE_ARGS}" RETURN_VALUE RET)
IF(${RET})
@@ -25,15 +24,6 @@ EXEC_CMAKE_COMMAND("--help-html \"${CMAKE_CURRENT_BINARY_DIR}/cmake.html\"")
EXEC_CMAKE_COMMAND("--copyright \"${CMAKE_CURRENT_BINARY_DIR}/Copyright.txt\"")
EXEC_CMAKE_COMMAND("--version \"${CMAKE_CURRENT_BINARY_DIR}/version.txt\"")
-IF(DUMP_DOC_EXE)
- EXEC_PROGRAM(${DUMP_DOC_EXE} ARGS "--all-for-coverage \"${CMAKE_CURRENT_BINARY_DIR}/all_for_coverage.txt\"" RETURN_VALUE RET)
- IF(${RET})
- MESSAGE(SEND_ERROR "DumpDoc command failed ")
- ENDIF(${RET})
-ELSE(DUMP_DOC_EXE)
- MESSAGE(SEND_ERROR "Cannot find DumpDocumentation executable.")
-ENDIF(DUMP_DOC_EXE)
-
ADD_EXECUTABLE(CommandLineTest CommandLineTest.cxx)
GET_FILENAME_COMPONENT(CMAKE_COMMAND_PATH "${CMAKE_COMMAND}" PATH)