Commit 4701d432 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit Committed by Ben Boeckel
Browse files

vtkIOParallelExodus: update to the new module system

parent 4c93d735
include(vtkObjectFactory)
set(classes
vtkPExodusIIReader
vtkPExodusIIWriter)
set(Module_SRCS
vtkPExodusIIReader.cxx
vtkPExodusIIWriter.cxx
${CMAKE_CURRENT_BINARY_DIR}/${vtk-module}ObjectFactory.cxx
)
vtk_object_factory_declare(
BASE vtkExodusIIWriter
OVERRIDE vtkPExodusIIWriter)
# Now to generate our object factory.
vtk_add_override(vtkExodusIIWriter vtkPExodusIIWriter)
vtk_object_factory_configure("${vtk_module_overrides}")
vtk_object_factory_configure(
SOURCE_FILE vtk_object_factory_source
HEADER_FILE vtk_object_factory_header
EXPORT_MACRO "VTKIOPARALLELEXODUS_EXPORT")
vtk_module_library(vtkIOParallelExodus ${Module_SRCS})
vtk_module_add_module(VTK::IOParallelExodus
CLASSES ${classes}
SOURCES ${vtk_object_factory_source}
PRIVATE_HEADERS ${vtk_object_factory_header})
vtk_module_test_data(
Data/disk_out_ref.ex2)
add_subdirectory(Cxx)
vtk_module(vtkIOParallelExodus
IMPLEMENTS
vtkIOExodus
TEST_DEPENDS
vtkTestingRendering
KIT
vtkParallel
DEPENDS
vtkCommonCore
vtkIOExodus
PRIVATE_DEPENDS
vtkCommonDataModel
vtkCommonExecutionModel
vtkFiltersCore
vtkParallelCore
vtkexodusII
vtksys
)
\ No newline at end of file
NAME
VTK::IOParallelExodus
LIBRARY_NAME
vtkIOParallelExodus
KIT
VTK::Parallel
IMPLEMENTS
VTK::IOExodus
DEPENDS
VTK::CommonCore
VTK::IOExodus
PRIVATE_DEPENDS
VTK::CommonDataModel
VTK::CommonExecutionModel
VTK::FiltersCore
VTK::ParallelCore
VTK::exodusII
VTK::vtksys
TEST_DEPENDS
VTK::TestingRendering
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment