diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-03-29 15:06:30 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-03-29 15:06:30 (GMT) |
commit | 8b3b49a010219eeba327d882e1fe38f721b6bed8 (patch) | |
tree | 095e639d4828f7a0e4e905c1f14d5fe32369e923 /Source/cmVTKMakeInstantiatorCommand.cxx | |
parent | 627ab62ce093d8f50ed0ba50a1dd1081165b19f1 (diff) | |
download | CMake-8b3b49a010219eeba327d882e1fe38f721b6bed8.zip CMake-8b3b49a010219eeba327d882e1fe38f721b6bed8.tar.gz CMake-8b3b49a010219eeba327d882e1fe38f721b6bed8.tar.bz2 |
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.
Diffstat (limited to 'Source/cmVTKMakeInstantiatorCommand.cxx')
-rw-r--r-- | Source/cmVTKMakeInstantiatorCommand.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmVTKMakeInstantiatorCommand.cxx b/Source/cmVTKMakeInstantiatorCommand.cxx index 4c69a95..3294bc4 100644 --- a/Source/cmVTKMakeInstantiatorCommand.cxx +++ b/Source/cmVTKMakeInstantiatorCommand.cxx @@ -121,20 +121,20 @@ cmVTKMakeInstantiatorCommand return false; } - std::vector<cmSourceFile>& srcList = srcListIter->second; + std::vector<cmSourceFile*>& srcList = srcListIter->second; // Collect the names of the classes. - for(std::vector<cmSourceFile>::iterator src = srcList.begin(); + for(std::vector<cmSourceFile*>::iterator src = srcList.begin(); src != srcList.end();++src) { // Wrap-excluded and abstract classes do not have a New() method. // vtkIndent and vtkTimeStamp are special cases and are not // vtkObject subclasses. - if(!src->GetWrapExclude() && !src->GetIsAnAbstractClass() - && (src->GetSourceName() != "vtkIndent") - && (src->GetSourceName() != "vtkTimeStamp")) + if(!(*src)->GetWrapExclude() && !(*src)->GetIsAnAbstractClass() + && ((*src)->GetSourceName() != "vtkIndent") + && ((*src)->GetSourceName() != "vtkTimeStamp")) { - m_Classes.push_back(src->GetSourceName()); + m_Classes.push_back((*src)->GetSourceName()); } } } |