Commit 614dca7d authored by Utkarsh Ayachit's avatar Utkarsh Ayachit Committed by Ben Boeckel

vtkIOVPIC: update to the new module system

parent c8947800
set(Module_SRCS
vtkVPICReader.cxx
)
set(classes
vtkVPICReader)
vtk_module_library(vtkIOVPIC ${Module_SRCS})
vtk_module_add_module(VTK::IOVPIC
CLASSES ${classes})
add_subdirectory(Cxx)
if (VTK_USE_LARGE_DATA)
vtk_module_test_data(
Data/VPIC/global.vpc
Data/VPIC/fields/T.0/,REGEX:.*
Data/VPIC/fields/T.100/,REGEX:.*
Data/VPIC/hydro/T.0/,REGEX:.*
Data/VPIC/hydro/T.100/,REGEX:.*)
add_subdirectory(Cxx)
endif ()
if(VTK_USE_LARGE_DATA)
# Tell ExternalData to fetch test input at build time.
ExternalData_Expand_Arguments(VTKData _
"DATA{${VTK_TEST_INPUT_DIR}/VPIC/global.vpc}"
"DATA{${VTK_TEST_INPUT_DIR}/VPIC/fields/T.0/,REGEX:.*}"
"DATA{${VTK_TEST_INPUT_DIR}/VPIC/fields/T.100/,REGEX:.*}"
"DATA{${VTK_TEST_INPUT_DIR}/VPIC/hydro/T.0/,REGEX:.*}"
"DATA{${VTK_TEST_INPUT_DIR}/VPIC/hydro/T.100/,REGEX:.*}"
)
vtk_add_test_cxx(vtkIOVPICCxxTests tests
TestVPICReader.cxx
)
endif()
vtk_add_test_cxx(vtkIOVPICCxxTests tests
TestVPICReader.cxx
)
vtk_test_cxx_executable(vtkIOVPICCxxTests tests)
vtk_module(vtkIOVPIC
TEST_DEPENDS
vtkRenderingOpenGL2
vtkTestingRendering
vtkInteractionStyle
KIT
vtkParallel
DEPENDS
vtkCommonExecutionModel
vtkvpic
PRIVATE_DEPENDS
vtkCommonCore
vtkCommonDataModel
vtkCommonMisc
vtkParallelCore
)
NAME
VTK::IOVPIC
LIBRARY_NAME
vtkIOVPIC
KIT
VTK::Parallel
DEPENDS
VTK::CommonExecutionModel
VTK::vpic
PRIVATE_DEPENDS
VTK::CommonCore
VTK::CommonDataModel
VTK::CommonMisc
VTK::ParallelCore
VTK::mpi
TEST_DEPENDS
VTK::FiltersGeometry
VTK::IOImage
VTK::InteractionStyle
VTK::RenderingOpenGL2
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