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

vtkIOParallelLSDyna: update to the new module system

parent 4701d432
set(Module_SRCS
vtkPLSDynaReader.cxx
)
set(classes
vtkPLSDynaReader)
include_directories(
${vtkIOLSDyna_SOURCE_DIR}/private
${vtkIOLSDyna_BINARY_DIR}/private
)
vtk_module_library(vtkIOParallelLSDyna ${Module_SRCS})
vtk_module_add_module(VTK::IOParallelLSDyna
CLASSES ${classes})
add_subdirectory(Cxx)
if (VTK_USE_LARGE_DATA)
vtk_module_test_data(
Data/LSDyna/hemi.draw/,REGEX:.*)
add_subdirectory(Cxx)
endif ()
if(VTK_USE_LARGE_DATA)
include(vtkMPI)
# Tell ExternalData to fetch test input at build time.
ExternalData_Expand_Arguments(VTKData _
"DATA{${VTK_TEST_INPUT_DIR}/LSDyna/hemi.draw/,REGEX:.*}"
)
vtk_add_test_mpi(vtkIOParallelLSDynaCxxTests-MPI tests
TESTING_DATA
PLSDynaReader.cxx
)
vtk_test_mpi_executable(vtkIOParallelLSDynaCxxTests-MPI tests)
endif()
vtk_add_test_mpi(vtkIOParallelLSDynaCxxTests-MPI tests
TESTING_DATA
PLSDynaReader.cxx
)
vtk_test_cxx_executable(vtkIOParallelLSDynaCxxTests-MPI tests)
vtk_module(vtkIOParallelLSDyna
TEST_DEPENDS
vtkParallelMPI
vtkRenderingParallel
vtkTestingRendering
vtkInteractionStyle
vtkRenderingOpenGL2
KIT
vtkParallel
DEPENDS
vtkIOLSDyna
PRIVATE_DEPENDS
vtkCommonCore
vtkCommonDataModel
vtkCommonExecutionModel
vtkParallelCore
)
NAME
VTK::IOParallelLSDyna
LIBRARY_NAME
vtkIOParallelLSDyna
KIT
VTK::Parallel
DEPENDS
VTK::IOLSDyna
PRIVATE_DEPENDS
VTK::CommonCore
VTK::CommonDataModel
VTK::CommonExecutionModel
VTK::ParallelCore
TEST_DEPENDS
VTK::FiltersGeometry
VTK::InteractionStyle
VTK::ParallelMPI
VTK::RenderingOpenGL2
VTK::RenderingParallel
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