summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceGroup.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-04-19 17:28:46 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-04-19 17:28:46 (GMT)
commit24bce99cbff13cb337c543dce55f056351caa2fc (patch)
tree6f34febd8379a1c848a8c22721552964afc34c61 /Source/cmSourceGroup.cxx
parent57c4325c7dc3a19dea5276f9ab92647d42a3d43a (diff)
downloadCMake-24bce99cbff13cb337c543dce55f056351caa2fc.zip
CMake-24bce99cbff13cb337c543dce55f056351caa2fc.tar.gz
CMake-24bce99cbff13cb337c543dce55f056351caa2fc.tar.bz2
cleaned up the coding style made ivars private etc
Diffstat (limited to 'Source/cmSourceGroup.cxx')
-rw-r--r--Source/cmSourceGroup.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/Source/cmSourceGroup.cxx b/Source/cmSourceGroup.cxx
index 7025751..6a9e6ff 100644
--- a/Source/cmSourceGroup.cxx
+++ b/Source/cmSourceGroup.cxx
@@ -55,30 +55,30 @@ bool cmSourceGroup::Matches(const char* name)
*/
void cmSourceGroup::AddCustomCommand(const cmCustomCommand &cmd)
{
- CustomCommands::iterator s = m_CustomCommands.find(cmd.m_Source);
+ CustomCommands::iterator s = m_CustomCommands.find(cmd.GetSourceName());
if(s == m_CustomCommands.end())
{
// The source was not found. Add it with this command.
- m_CustomCommands[cmd.m_Source][cmd.m_Command].
- m_Depends.insert(cmd.m_Depends.begin(),cmd.m_Depends.end());
- m_CustomCommands[cmd.m_Source][cmd.m_Command].
- m_Outputs.insert(cmd.m_Outputs.begin(),cmd.m_Outputs.end());
+ m_CustomCommands[cmd.GetSourceName()][cmd.GetCommand()].
+ m_Depends.insert(cmd.GetDepends().begin(),cmd.GetDepends().end());
+ m_CustomCommands[cmd.GetSourceName()][cmd.GetCommand()].
+ m_Outputs.insert(cmd.GetOutputs().begin(),cmd.GetOutputs().end());
return;
}
// The source already exists. See if the command exists.
Commands& commands = s->second;
- Commands::iterator c = commands.find(cmd.m_Command);
+ Commands::iterator c = commands.find(cmd.GetCommand());
if(c == commands.end())
{
// The command did not exist. Add it.
- commands[cmd.m_Command].m_Depends.insert(cmd.m_Depends.begin(), cmd.m_Depends.end());
- commands[cmd.m_Command].m_Outputs.insert(cmd.m_Outputs.begin(), cmd.m_Outputs.end());
+ commands[cmd.GetCommand()].m_Depends.insert(cmd.GetDepends().begin(), cmd.GetDepends().end());
+ commands[cmd.GetCommand()].m_Outputs.insert(cmd.GetOutputs().begin(), cmd.GetOutputs().end());
return;
}
// The command already exists for this source. Merge the sets.
CommandFiles& commandFiles = c->second;
- commandFiles.m_Depends.insert(cmd.m_Depends.begin(), cmd.m_Depends.end());
- commandFiles.m_Outputs.insert(cmd.m_Outputs.begin(), cmd.m_Outputs.end());
+ commandFiles.m_Depends.insert(cmd.GetDepends().begin(), cmd.GetDepends().end());
+ commandFiles.m_Outputs.insert(cmd.GetOutputs().begin(), cmd.GetOutputs().end());
}