summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
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 /Source/cmMakefile.cxx
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 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 40e55c2..063d560 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -1778,14 +1778,6 @@ void cmMakefile::AddDefinition(const char* name, const char* value)
return;
}
-#ifdef CMAKE_STRICT
- if (this->GetCMakeInstance())
- {
- this->GetCMakeInstance()->
- RecordPropertyAccess(name,cmProperty::VARIABLE);
- }
-#endif
-
this->Internal->VarStack.top().Set(name, value);
if (this->Internal->VarUsageStack.size() &&
this->VariableInitialized(name))
@@ -2448,13 +2440,6 @@ bool cmMakefile::IsDefinitionSet(const char* name) const
const char* cmMakefile::GetDefinition(const char* name) const
{
-#ifdef CMAKE_STRICT
- if (this->GetCMakeInstance())
- {
- this->GetCMakeInstance()->
- RecordPropertyAccess(name,cmProperty::VARIABLE);
- }
-#endif
if (this->WarnUnused)
{
this->Internal->VarUsageStack.top().insert(name);