summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2010-09-01 14:22:08 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2010-09-01 17:09:08 (GMT)
commitfff9f6d6f74aa92d0bc4adf3a80a25b1b662458d (patch)
treecd9736d600c9a8606ed40493c33c825a1d0f3f30 /Source/cmMakefile.cxx
parent786e2695cb68402d44357002b438c95229c4fb19 (diff)
downloadCMake-fff9f6d6f74aa92d0bc4adf3a80a25b1b662458d.zip
CMake-fff9f6d6f74aa92d0bc4adf3a80a25b1b662458d.tar.gz
CMake-fff9f6d6f74aa92d0bc4adf3a80a25b1b662458d.tar.bz2
Rename flags again and use variablewatch for cli
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 406062d..242900e 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -93,7 +93,6 @@ cmMakefile::cmMakefile(): Internal(new Internals)
this->Initialize();
this->PreOrder = false;
this->WarnUnused = false;
- this->DefaultToUsed = true;
}
cmMakefile::cmMakefile(const cmMakefile& mf): Internal(new Internals)
@@ -137,7 +136,6 @@ cmMakefile::cmMakefile(const cmMakefile& mf): Internal(new Internals)
this->Properties = mf.Properties;
this->PreOrder = mf.PreOrder;
this->WarnUnused = mf.WarnUnused;
- this->DefaultToUsed = mf.DefaultToUsed;
this->ListFileStack = mf.ListFileStack;
this->Initialize();
}
@@ -767,7 +765,6 @@ void cmMakefile::SetLocalGenerator(cmLocalGenerator* lg)
const cmDefinitions& defs = cmDefinitions();
const std::set<cmStdString> globalKeys = defs.LocalKeys();
this->WarnUnused = this->GetCMakeInstance()->GetWarnUnused();
- this->DefaultToUsed = this->GetCMakeInstance()->GetDefaultToUsed();
if (this->WarnUnused)
{
this->Internal->VarUsageStack.push(globalKeys);
@@ -1710,10 +1707,6 @@ void cmMakefile::AddDefinition(const char* name, bool value)
{
this->Internal->VarStack.top().Set(name, value? "ON" : "OFF");
this->Internal->VarInitStack.top().insert(name);
- if (this->WarnUnused && this->DefaultToUsed)
- {
- this->Internal->VarUsageStack.top().insert(name);
- }
#ifdef CMAKE_BUILD_WITH_CMAKE
cmVariableWatch* vv = this->GetVariableWatch();
if ( vv )