summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.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/cmMakefile.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/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 69856b4..139bcd0 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -304,7 +304,7 @@ void cmMakefile::AddCustomCommand(const char* source,
if (m_Targets.find(target) != m_Targets.end())
{
cmCustomCommand cc(source,command,depends,outputs);
- m_Targets[target].m_CustomCommands.push_back(cc);
+ m_Targets[target].GetCustomCommands().push_back(cc);
}
}
@@ -368,8 +368,8 @@ void cmMakefile::SetProjectName(const char* p)
void cmMakefile::AddLibrary(const char* lname, const std::vector<std::string> &srcs)
{
cmTarget target;
- target.m_IsALibrary = 1;
- target.m_SourceLists = srcs;
+ target.SetIsALibrary(1);
+ target.GetSourceLists() = srcs;
m_Targets.insert(cmTargets::value_type(lname,target));
}
@@ -377,8 +377,8 @@ void cmMakefile::AddExecutable(const char *exeName,
const std::vector<std::string> &srcs)
{
cmTarget target;
- target.m_IsALibrary = 0;
- target.m_SourceLists = srcs;
+ target.SetIsALibrary(0);
+ target.GetSourceLists() = srcs;
m_Targets.insert(cmTargets::value_type(exeName,target));
}