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

vtkIOParallelNetCDF: update to the new module system

parent ba246198
include(vtkMPI)
set(classes
vtkPNetCDFPOPReader)
set(Module_SRCS
vtkPNetCDFPOPReader.cxx
)
vtk_module_library(vtkIOParallelNetCDF ${Module_SRCS})
vtk_mpi_link(vtkIOParallelNetCDF)
vtk_module_add_module(VTK::IOParallelNetCDF
CLASSES ${classes})
add_subdirectory(Cxx)
if (VTK_USE_LARGE_DATA)
vtk_module_test_data(
Data/NetCDF/test.pop.nc)
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}/NetCDF/,REGEX:.*}"
)
vtk_add_test_cxx(vtkIOParallelNetCDFCxxTests tests
TestPNetCDFPOPReader.cxx
)
endif()
vtk_add_test_cxx(vtkIOParallelNetCDFCxxTests tests
TestPNetCDFPOPReader.cxx
)
vtk_test_cxx_executable(vtkIOParallelNetCDFCxxTests tests)
vtk_module(vtkIOParallelNetCDF
GROUPS
MPI
TEST_DEPENDS
vtkCommonExecutionModel
vtkRenderingOpenGL2
vtkTestingRendering
vtkInteractionStyle
KIT
vtkParallel
DEPENDS
vtkCommonExecutionModel
PRIVATE_DEPENDS
vtkCommonCore
vtkCommonDataModel
vtkParallelMPI
vtknetcdf
)
NAME
VTK::IOParallelNetCDF
LIBRARY_NAME
vtkIOParallelNetCDF
KIT
VTK::Parallel
GROUPS
MPI
DEPENDS
VTK::CommonExecutionModel
PRIVATE_DEPENDS
VTK::CommonCore
VTK::CommonDataModel
VTK::ParallelMPI
VTK::mpi
VTK::netcdf
TEST_DEPENDS
VTK::CommonExecutionModel
VTK::FiltersGeometry
VTK::InteractionStyle
VTK::ParallelMPI
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