1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
include(vtkMPI)
include(vtkObjectFactory)
set(Module_SRCS
vtkPNrrdReader.cxx
vtkMPIImageReader.cxx
${CMAKE_CURRENT_BINARY_DIR}/${vtk-module}ObjectFactory.cxx
)
set_source_files_properties(
${vtk-module}ObjectFactory
PROPERTIES
WRAP_EXCLUDE 1
WRAP_EXCLUDE_PYTHON 1
)
# Now to generate our object factory.
vtk_add_override(vtkNrrdReader vtkPNrrdReader)
vtk_object_factory_configure("${vtk_module_overrides}")
vtk_module_library(vtkIOMPIImage ${Module_SRCS})
vtk_mpi_link(${vtk-module})
|