summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-11-06 19:11:00 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-11-06 19:11:00 (GMT)
commit16ac724c9189af13ea4a4b04584a4498fe907518 (patch)
treebac7b42803684baf0447202f402e5bb6038a0514
parentba9b508478a353155ee2361d124eeabb796e9816 (diff)
downloadCMake-16ac724c9189af13ea4a4b04584a4498fe907518.zip
CMake-16ac724c9189af13ea4a4b04584a4498fe907518.tar.gz
CMake-16ac724c9189af13ea4a4b04584a4498fe907518.tar.bz2
ENH: add doc test for strict builds
-rw-r--r--Tests/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index dba0075..0b897a5 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -48,7 +48,11 @@ IF(BUILD_TESTING)
ADD_TEST_MACRO(Properties Properties)
ADD_TEST_MACRO(Assembler HelloAsm)
ADD_TEST_MACRO(SourceGroups SourceGroups)
-
+
+ IF (CMAKE_STRICT)
+ ADD_TEST_MACRO(DocTest DocTest)
+ ENDIF (CMAKE_STRICT)
+
IF(CMAKE_BUILD_NIGHTLY_WINDOWS_TEST)
FILE(MAKE_DIRECTORY "${CMake_BINARY_DIR}/Tests/CMake-CVS")
FILE(WRITE "${CMake_BINARY_DIR}/Tests/CMake-CVS/nightly-cmake.sh"