CMakeLists.txt 554 Bytes
Newer Older
1 2 3
set(classes
  vtkPNrrdReader
  vtkMPIImageReader)
4 5

# Now to generate our object factory.
6 7 8 9 10 11 12 13 14 15 16
vtk_object_factory_declare(
  BASE      vtkNrrdReader
  OVERRIDE  vtkPNrrdReader)
vtk_object_factory_declare(
  BASE      vtkImageReader
  OVERRIDE  vtkMPIImageReader)

vtk_object_factory_configure(
  SOURCE_FILE vtk_object_factory_source
  HEADER_FILE vtk_object_factory_header
  EXPORT_MACRO "VTKIOMPIIMAGE_EXPORT")
17

18 19 20 21
vtk_module_add_module(VTK::IOMPIImage
  CLASSES ${classes}
  SOURCES ${vtk_object_factory_source}
  PRIVATE_HEADERS ${vtk_object_factory_header})