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
@@ -32,12 +32,12 @@ bool cmWrapExcludeFilesCommand::InitialPass(std::vector<std::string> const& args
for(cmMakefile::SourceMap::iterator l = Classes.begin();
l != Classes.end(); l++)
{
for(std::vector<cmSourceFile>::iterator i = l->second.begin();
for(std::vector<cmSourceFile*>::iterator i = l->second.begin();
i != l->second.end(); i++)
{
if(i->GetSourceName() == (*j))
if((*i)->GetSourceName() == (*j))
{
i->SetWrapExclude(true);
(*i)->SetWrapExclude(true);
}
}
}