summaryrefslogtreecommitdiffstats
path: root/Tests/DocTest
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-09-16 18:28:51 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-15 14:47:38 (GMT)
commit277bd1db98194fe7b48627add4442e9b7a8207a7 (patch)
tree3a77d9cf12f239d93c0f0c8ffab82f2e79af1c8c /Tests/DocTest
parent678aaad1336b9581889d7d219a2778b0b070a560 (diff)
downloadCMake-277bd1db98194fe7b48627add4442e9b7a8207a7.zip
CMake-277bd1db98194fe7b48627add4442e9b7a8207a7.tar.gz
CMake-277bd1db98194fe7b48627add4442e9b7a8207a7.tar.bz2
Drop CMAKE_STRICT mode
With our modern development workflow it is less likely a property will be added to C++ code without documentation. This mode only existed to support the DocTest which had very limited coverage of the properties anyway.
Diffstat (limited to 'Tests/DocTest')
-rw-r--r--Tests/DocTest/CMakeLists.txt7
-rw-r--r--Tests/DocTest/DocTest.cxx33
2 files changed, 0 insertions, 40 deletions
diff --git a/Tests/DocTest/CMakeLists.txt b/Tests/DocTest/CMakeLists.txt
deleted file mode 100644
index 837328e..0000000
--- a/Tests/DocTest/CMakeLists.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-cmake_minimum_required (VERSION 2.6)
-project (DocTest)
-
-add_executable (DocTest DocTest.cxx)
-
-set_property(GLOBAL PROPERTY REPORT_UNDEFINED_PROPERTIES
- "${CMAKE_CURRENT_BINARY_DIR}/UndefinedProperties.txt")
diff --git a/Tests/DocTest/DocTest.cxx b/Tests/DocTest/DocTest.cxx
deleted file mode 100644
index a8a62ab..0000000
--- a/Tests/DocTest/DocTest.cxx
+++ /dev/null
@@ -1,33 +0,0 @@
-#include <fstream>
-#include <iostream>
-#include <stdio.h>
-
-int main ()
-{
- int result = 0;
-
- // parse the dart test file
- std::ifstream fin("UndefinedProperties.txt");
- if(!fin)
- {
- fprintf(stderr,"failed to find undefined properties file");
- return 1;
- }
-
- char buffer[1024];
- while ( fin )
- {
- buffer[0] = 0;
- fin.getline(buffer, 1023);
- buffer[1023] = 0;
- std::string line = buffer;
- if(line.size() && line.find("with scope VARIABLE") == std::string::npos)
- {
- fprintf(stderr, "%s\n", line.c_str());
- result = 1;
- }
- }
- fin.close();
-
- return result;
-}