diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-08-16 15:20:18 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-08-16 15:20:18 (GMT) |
commit | 7b5a8762c6d5f7915db99e2344d169d14a4fda65 (patch) | |
tree | 4c5294710e7c720afde51e8e7170a39895d17c41 /Source/cmVTKMakeInstantiatorCommand.cxx | |
parent | f7b1a90256a3e7d94cbb58b595eee5190e8958ba (diff) | |
download | CMake-7b5a8762c6d5f7915db99e2344d169d14a4fda65.zip CMake-7b5a8762c6d5f7915db99e2344d169d14a4fda65.tar.gz CMake-7b5a8762c6d5f7915db99e2344d169d14a4fda65.tar.bz2 |
modified how source files store properties
Diffstat (limited to 'Source/cmVTKMakeInstantiatorCommand.cxx')
-rw-r--r-- | Source/cmVTKMakeInstantiatorCommand.cxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Source/cmVTKMakeInstantiatorCommand.cxx b/Source/cmVTKMakeInstantiatorCommand.cxx index 2266f8e..ae02e4b 100644 --- a/Source/cmVTKMakeInstantiatorCommand.cxx +++ b/Source/cmVTKMakeInstantiatorCommand.cxx @@ -111,7 +111,8 @@ cmVTKMakeInstantiatorCommand // vtkIndent and vtkTimeStamp are special cases and are not // vtkObject subclasses. if( - (!sf || (!sf->GetWrapExclude() && !sf->GetIsAnAbstractClass())) && + (!sf || (!sf->GetPropertyAsBool("WRAP_EXCLUDE") && + !sf->GetPropertyAsBool("ABSTRACT"))) && ((srcName != "vtkIndent") && (srcName != "vtkTimeStamp"))) { m_Classes.push_back(srcName); @@ -159,8 +160,8 @@ cmVTKMakeInstantiatorCommand // Add the generated source file into the source list. cmSourceFile file; - file.SetWrapExclude(true); - file.SetIsAnAbstractClass(false); + file.SetProperty("WRAP_EXCLUDE","1"); + file.SetProperty("ABSTRACT","0"); file.SetName(fileName.c_str(), filePath.c_str(), m_Makefile->GetSourceExtensions(), m_Makefile->GetHeaderExtensions()); @@ -197,8 +198,8 @@ cmVTKMakeInstantiatorCommand // Add the generated source file into the source list. cmSourceFile file; - file.SetWrapExclude(true); - file.SetIsAnAbstractClass(false); + file.SetProperty("WRAP_EXCLUDE","1"); + file.SetProperty("ABSTRACT","0"); file.SetName(fileName.c_str(), filePath.c_str(), m_Makefile->GetSourceExtensions(), m_Makefile->GetHeaderExtensions()); |