summaryrefslogtreecommitdiff
path: root/Source/cmBuildNameCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-03-15 11:02:08 -0500
committerKen Martin <ken.martin@kitware.com>2006-03-15 11:02:08 -0500
commit3d96e522617647665d7e99919ba71d34b1db870c (patch)
tree2ec6cf41cc61aad79b94cff9b2aa321f2c8b686e /Source/cmBuildNameCommand.cxx
parent609af5c969be6edf087498f983ccd7d3ac818a48 (diff)
downloadcmake-3d96e522617647665d7e99919ba71d34b1db870c.tar.gz
STYLE: some m_ to this-> cleanup
Diffstat (limited to 'Source/cmBuildNameCommand.cxx')
-rw-r--r--Source/cmBuildNameCommand.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmBuildNameCommand.cxx b/Source/cmBuildNameCommand.cxx
index 06b6658ad4..362c88f911 100644
--- a/Source/cmBuildNameCommand.cxx
+++ b/Source/cmBuildNameCommand.cxx
@@ -26,7 +26,7 @@ bool cmBuildNameCommand::InitialPass(std::vector<std::string> const& args)
this->SetError("called with incorrect number of arguments");
return false;
}
- const char* cacheValue = m_Makefile->GetDefinition(args[0].c_str());
+ const char* cacheValue = this->Makefile->GetDefinition(args[0].c_str());
if(cacheValue)
{
// do we need to correct the value?
@@ -37,7 +37,7 @@ bool cmBuildNameCommand::InitialPass(std::vector<std::string> const& args)
cmSystemTools::ReplaceString(cv,"/", "_");
cmSystemTools::ReplaceString(cv,"(", "_");
cmSystemTools::ReplaceString(cv,")", "_");
- m_Makefile->AddCacheDefinition(args[0].c_str(),
+ this->Makefile->AddCacheDefinition(args[0].c_str(),
cv.c_str(),
"Name of build.",
cmCacheManager::STRING);
@@ -47,7 +47,7 @@ bool cmBuildNameCommand::InitialPass(std::vector<std::string> const& args)
std::string buildname = "WinNT";
- if(m_Makefile->GetDefinition("UNIX"))
+ if(this->Makefile->GetDefinition("UNIX"))
{
buildname = "";
cmSystemTools::RunSingleCommand("uname -a", &buildname);
@@ -62,7 +62,7 @@ bool cmBuildNameCommand::InitialPass(std::vector<std::string> const& args)
}
}
std::string compiler = "${CMAKE_CXX_COMPILER}";
- m_Makefile->ExpandVariablesInString ( compiler );
+ this->Makefile->ExpandVariablesInString ( compiler );
buildname += "-";
buildname += cmSystemTools::GetFilenameName(compiler);
cmSystemTools::ReplaceString(buildname,
@@ -72,7 +72,7 @@ bool cmBuildNameCommand::InitialPass(std::vector<std::string> const& args)
cmSystemTools::ReplaceString(buildname,
")", "_");
- m_Makefile->AddCacheDefinition(args[0].c_str(),
+ this->Makefile->AddCacheDefinition(args[0].c_str(),
buildname.c_str(),
"Name of build.",
cmCacheManager::STRING);