summaryrefslogtreecommitdiffstats
path: root/Source/cmDSPWriter.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/cmDSPWriter.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/cmDSPWriter.cxx')
-rw-r--r--Source/cmDSPWriter.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmDSPWriter.cxx b/Source/cmDSPWriter.cxx
index 0469228..8c9a62b 100644
--- a/Source/cmDSPWriter.cxx
+++ b/Source/cmDSPWriter.cxx
@@ -91,7 +91,7 @@ void cmDSPMakefile::OutputDSPFile()
for(cmTargets::const_iterator l = tgts.begin();
l != tgts.end(); l++)
{
- if (l->second.m_IsALibrary)
+ if (l->second.IsALibrary())
{
this->SetBuildType(m_LibraryBuildType, l->first.c_str());
}
@@ -196,7 +196,7 @@ void cmDSPMakefile::WriteDSPFile(std::ostream& fout,
// get the classes from the source lists then add them to the groups
std::vector<cmClassFile> classes =
- m_Makefile->GetClassesFromSourceLists(target.m_SourceLists);
+ m_Makefile->GetClassesFromSourceLists(target.GetSourceLists());
for(std::vector<cmClassFile>::iterator i = classes.begin();
i != classes.end(); i++)
{
@@ -212,11 +212,11 @@ void cmDSPMakefile::WriteDSPFile(std::ostream& fout,
// add any custom rules to the source groups
for (std::vector<cmCustomCommand>::const_iterator cr =
- target.m_CustomCommands.begin();
- cr != target.m_CustomCommands.end(); ++cr)
+ target.GetCustomCommands().begin();
+ cr != target.GetCustomCommands().end(); ++cr)
{
cmSourceGroup& sourceGroup =
- m_Makefile->FindSourceGroup(cr->m_Source.c_str(),
+ m_Makefile->FindSourceGroup(cr->GetSourceName().c_str(),
sourceGroups);
cmCustomCommand cc(*cr);
cc.ExpandVariables(*m_Makefile);