diff options
author | Ken Martin <ken.martin@kitware.com> | 2001-04-24 20:49:12 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2001-04-24 20:49:12 (GMT) |
commit | 73f04d1409ec4dfcb3b8db3e104da2a894d019a2 (patch) | |
tree | e1578688252c8a50fb307d60045379a53a02d646 /Source/cmWrapExcludeFilesCommand.cxx | |
parent | b5746484e4c396489b707e0f8b4d1f539e62a965 (diff) | |
download | CMake-73f04d1409ec4dfcb3b8db3e104da2a894d019a2.zip CMake-73f04d1409ec4dfcb3b8db3e104da2a894d019a2.tar.gz CMake-73f04d1409ec4dfcb3b8db3e104da2a894d019a2.tar.bz2 |
many fixes and cleanup and features
Diffstat (limited to 'Source/cmWrapExcludeFilesCommand.cxx')
-rw-r--r-- | Source/cmWrapExcludeFilesCommand.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmWrapExcludeFilesCommand.cxx b/Source/cmWrapExcludeFilesCommand.cxx index a0cab29..1f2ed84 100644 --- a/Source/cmWrapExcludeFilesCommand.cxx +++ b/Source/cmWrapExcludeFilesCommand.cxx @@ -24,19 +24,19 @@ bool cmWrapExcludeFilesCommand::Invoke(std::vector<std::string>& args) return false; } - cmMakefile::ClassMap &Classes = m_Makefile->GetClasses(); + cmMakefile::SourceMap &Classes = m_Makefile->GetSources(); for(std::vector<std::string>::iterator j = args.begin(); j != args.end(); ++j) { - for(cmMakefile::ClassMap::iterator l = Classes.begin(); + for(cmMakefile::SourceMap::iterator l = Classes.begin(); l != Classes.end(); l++) { - for(std::vector<cmClassFile>::iterator i = l->second.begin(); + for(std::vector<cmSourceFile>::iterator i = l->second.begin(); i != l->second.end(); i++) { - if(i->m_ClassName == (*j)) + if(i->GetSourceName() == (*j)) { - i->m_WrapExclude = true; + i->SetWrapExclude(true); } } } |