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

vtkFiltersParallelMPI: update to the new module system

parent 7fbeda72
set(Module_SRCS
vtkDistributedDataFilter.cxx
vtkDistributedPointCloudFilter.cxx
vtkPExtractGrid.cxx
vtkPExtractRectilinearGrid.cxx
vtkPExtractVOI.cxx
vtkStructuredImplicitConnectivity.cxx
)
set(classes
vtkDistributedDataFilter
vtkDistributedPointCloudFilter
vtkPExtractGrid
vtkPExtractRectilinearGrid
vtkPExtractVOI
vtkStructuredImplicitConnectivity)
vtk_module_library(vtkFiltersParallelMPI ${Module_SRCS})
vtk_module_add_module(VTK::FiltersParallelMPI
CLASSES ${classes})
include(vtkMPI)
vtk_add_test_mpi(vtkFiltersParallelMPICxxTests-MPI tests
TestImplicitConnectivity.cxx
)
set(${vtk-module}CxxTests-MPI_NUMPROCS 1)
vtk_add_test_mpi(${vtk-module}CxxTests-MPI test_1_procs
set(vtkFiltersParallelMPICxxTests-MPI_NUMPROCS 1)
vtk_add_test_mpi(vtkFiltersParallelMPICxxTests-MPI test_1_procs
TestDistributedPointCloudFilter1,TestDistributedPointCloudFilter.cxx
)
set(${vtk-module}CxxTests-MPI_NUMPROCS 2)
vtk_add_test_mpi(${vtk-module}CxxTests-MPI test_2_procs
set(vtkFiltersParallelMPICxxTests-MPI_NUMPROCS 2)
vtk_add_test_mpi(vtkFiltersParallelMPICxxTests-MPI test_2_procs
TestDistributedPointCloudFilter2,TestDistributedPointCloudFilter.cxx
)
set(${vtk-module}CxxTests-MPI_NUMPROCS 5)
vtk_add_test_mpi(${vtk-module}CxxTests-MPI test_5_procs
set(vtkFiltersParallelMPICxxTests-MPI_NUMPROCS 5)
vtk_add_test_mpi(vtkFiltersParallelMPICxxTests-MPI test_5_procs
TestDistributedPointCloudFilter5,TestDistributedPointCloudFilter.cxx
)
......@@ -27,4 +25,4 @@ set(all_tests
${test_5_procs}
)
vtk_test_mpi_executable(vtkFiltersParallelMPICxxTests-MPI all_tests)
vtk_test_cxx_executable(vtkFiltersParallelMPICxxTests-MPI all_tests)
vtk_module(vtkFiltersParallelMPI
GROUPS
MPI
TEST_DEPENDS
vtkIOXML
vtkIOParallelXML
vtkCommonDataModel
vtkTestingCore
KIT
vtkParallel
DEPENDS
vtkCommonCore
vtkCommonExecutionModel
vtkCommonSystem
vtkFiltersExtraction
vtkImagingCore
PRIVATE_DEPENDS
vtkCommonDataModel
vtkFiltersGeneral
vtkFiltersParallel
vtkIOLegacy
vtkParallelCore
vtkParallelMPI
)
NAME
VTK::FiltersParallelMPI
LIBRARY_NAME
vtkFiltersParallelMPI
KIT
VTK::Parallel
GROUPS
MPI
DEPENDS
VTK::CommonCore
VTK::CommonExecutionModel
VTK::CommonSystem
VTK::FiltersExtraction
VTK::ImagingCore
PRIVATE_DEPENDS
VTK::CommonDataModel
VTK::FiltersGeneral
VTK::FiltersParallel
VTK::IOLegacy
VTK::ParallelCore
VTK::ParallelMPI
TEST_DEPENDS
VTK::CommonDataModel
VTK::FiltersGeometry
VTK::FiltersParallel
VTK::IOLegacy
VTK::IOParallelXML
VTK::IOXML
VTK::ParallelMPI
VTK::TestingCore
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