ENH: major change, the cmMakefile now contains a master list of cmSourceFile objects, the source lists reference the list via pointers, also you can now set properties on a file, like compile flags, abstract, etc.

This commit is contained in:
Bill Hoffman
2002-03-29 10:06:30 -05:00
parent 627ab62ce0
commit 8b3b49a010
31 changed files with 593 additions and 180 deletions
+3 -3
View File
@@ -64,12 +64,12 @@ void cmInstallFilesCommand::FinalPass()
// look for a srclist
if (m_Makefile->GetSources().find(temps) != m_Makefile->GetSources().end())
{
const std::vector<cmSourceFile> &clsList =
const std::vector<cmSourceFile*> &clsList =
m_Makefile->GetSources().find(temps)->second;
std::vector<cmSourceFile>::const_iterator c = clsList.begin();
std::vector<cmSourceFile*>::const_iterator c = clsList.begin();
for (; c != clsList.end(); ++c)
{
testf = c->GetSourceName() + ext;
testf = (*c)->GetSourceName() + ext;
// add to the result
targetSourceLists.push_back(testf);
}