summaryrefslogtreecommitdiffstats
path: root/Source/cmVariableRequiresCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-03-15 16:02:08 (GMT)
committerKen Martin <ken.martin@kitware.com>2006-03-15 16:02:08 (GMT)
commit3d96e522617647665d7e99919ba71d34b1db870c (patch)
tree2ec6cf41cc61aad79b94cff9b2aa321f2c8b686e /Source/cmVariableRequiresCommand.cxx
parent609af5c969be6edf087498f983ccd7d3ac818a48 (diff)
downloadCMake-3d96e522617647665d7e99919ba71d34b1db870c.zip
CMake-3d96e522617647665d7e99919ba71d34b1db870c.tar.gz
CMake-3d96e522617647665d7e99919ba71d34b1db870c.tar.bz2
STYLE: some m_ to this-> cleanup
Diffstat (limited to 'Source/cmVariableRequiresCommand.cxx')
-rw-r--r--Source/cmVariableRequiresCommand.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmVariableRequiresCommand.cxx b/Source/cmVariableRequiresCommand.cxx
index d7b1376..b119c94 100644
--- a/Source/cmVariableRequiresCommand.cxx
+++ b/Source/cmVariableRequiresCommand.cxx
@@ -28,7 +28,7 @@ bool cmVariableRequiresCommand::InitialPass(std::vector<std::string>const&
}
std::string testVariable = args[0];
- if(!m_Makefile->IsOn(testVariable.c_str()))
+ if(!this->Makefile->IsOn(testVariable.c_str()))
{
return true;
}
@@ -38,26 +38,26 @@ bool cmVariableRequiresCommand::InitialPass(std::vector<std::string>const&
bool hasAdvanced = false;
for(unsigned int i = 2; i < args.size(); ++i)
{
- if(!m_Makefile->IsOn(args[i].c_str()))
+ if(!this->Makefile->IsOn(args[i].c_str()))
{
requirementsMet = false;
notSet += args[i];
notSet += "\n";
cmCacheManager::CacheIterator it =
- m_Makefile->GetCacheManager()->GetCacheIterator(args[i].c_str());
+ this->Makefile->GetCacheManager()->GetCacheIterator(args[i].c_str());
if(!it.IsAtEnd() && it.GetPropertyAsBool("ADVANCED"))
{
hasAdvanced = true;
}
}
}
- const char* reqVar = m_Makefile->GetDefinition(resultVariable.c_str());
+ const char* reqVar = this->Makefile->GetDefinition(resultVariable.c_str());
// if reqVar is unset, then set it to requirementsMet
// if reqVar is set to true, but requirementsMet is false , then
// set reqVar to false.
- if(!reqVar || (!requirementsMet && m_Makefile->IsOn(reqVar)))
+ if(!reqVar || (!requirementsMet && this->Makefile->IsOn(reqVar)))
{
- m_Makefile->AddDefinition(resultVariable.c_str(), requirementsMet);
+ this->Makefile->AddDefinition(resultVariable.c_str(), requirementsMet);
}
if(!requirementsMet)