summaryrefslogtreecommitdiffstats
path: root/Source/cmTargetLinkLibrariesCommand.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/cmTargetLinkLibrariesCommand.cxx
parent609af5c969be6edf087498f983ccd7d3ac818a48 (diff)
downloadCMake-3d96e522617647665d7e99919ba71d34b1db870c.zip
CMake-3d96e522617647665d7e99919ba71d34b1db870c.tar.gz
CMake-3d96e522617647665d7e99919ba71d34b1db870c.tar.bz2
STYLE: some m_ to this-> cleanup
Diffstat (limited to 'Source/cmTargetLinkLibrariesCommand.cxx')
-rw-r--r--Source/cmTargetLinkLibrariesCommand.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/cmTargetLinkLibrariesCommand.cxx b/Source/cmTargetLinkLibrariesCommand.cxx
index 71d649f..4753bd8 100644
--- a/Source/cmTargetLinkLibrariesCommand.cxx
+++ b/Source/cmTargetLinkLibrariesCommand.cxx
@@ -27,8 +27,6 @@ bool cmTargetLinkLibrariesCommand::InitialPass(std::vector<std::string>
return false;
}
- m_TargetName = args[0];
-
// but we might not have any libs after variable expansion
if(args.size() < 2)
{
@@ -48,7 +46,7 @@ bool cmTargetLinkLibrariesCommand::InitialPass(std::vector<std::string>
this->SetError("The \"debug\" argument must be followed by a library");
return false;
}
- m_Makefile->AddLinkLibraryForTarget(args[0].c_str(),i->c_str(),
+ this->Makefile->AddLinkLibraryForTarget(args[0].c_str(),i->c_str(),
cmTarget::DEBUG);
}
else if (*i == "optimized")
@@ -60,12 +58,12 @@ bool cmTargetLinkLibrariesCommand::InitialPass(std::vector<std::string>
"The \"optimized\" argument must be followed by a library");
return false;
}
- m_Makefile->AddLinkLibraryForTarget(args[0].c_str(),i->c_str(),
+ this->Makefile->AddLinkLibraryForTarget(args[0].c_str(),i->c_str(),
cmTarget::OPTIMIZED);
}
else
{
- m_Makefile->AddLinkLibraryForTarget(args[0].c_str(),i->c_str(),
+ this->Makefile->AddLinkLibraryForTarget(args[0].c_str(),i->c_str(),
cmTarget::GENERAL);
}
}