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

vtkParallelMPI: update to the new module system

parent 45e7e66f
include(vtkMPI)
set(vtkParallelMPI_SYSTEM_INCLUDE_DIRS ${MPI_C_INCLUDE_PATH})
set(classes
vtkMPICommunicator
vtkMPIController
vtkMPIUtilities)
include(vtkTestingMPISupport)
include(vtkTestingMacros)
set(headers
vtkMPI.h)
set(Module_SRCS
vtkMPICommunicator.cxx
vtkMPIController.cxx
vtkMPIUtilities.cxx
# vtkMPIEventLog.cxx # Deprecated
vtkMPI.h
)
set_source_files_properties(
vtkMPI
HEADER_FILE_ONLY
)
# Needed for mpich 2
add_definitions("-DMPICH_IGNORE_CXX_SEEK")
vtk_module_library(vtkParallelMPI ${Module_SRCS})
vtk_mpi_link(vtkParallelMPI)
vtk_module_add_module(VTK::ParallelMPI
CLASSES ${classes}
HEADERS ${headers})
vtk_module_test_data(
Data/ironProt.vtk)
add_subdirectory(Cxx)
include(vtkMPI)
vtk_add_test_mpi(vtkParallelMPICxxTests-MPI tests
TESTING_DATA
TestPProbe.cxx
)
vtk_add_test_mpi(vtkParallelMPICxxTests-MPI no_data_tests
GenericCommunicator.cxx
#GenericCommunicator.cxx
MPIController.cxx
PDirectory.cxx
PSystemTools.cxx
......@@ -22,6 +20,6 @@ set(all_tests
${no_data_tests}
${2_proc_tests}
)
vtk_test_mpi_executable(vtkParallelMPICxxTests-MPI all_tests
vtk_test_cxx_executable(vtkParallelMPICxxTests-MPI all_tests
ExerciseMultiProcessController.cxx
)
vtk_module(vtkParallelMPI
GROUPS
MPI
TEST_DEPENDS
vtkTestingRendering
vtkRenderingParallel
vtkImagingSources
vtkIOParallel
vtkInteractionStyle
KIT
vtkParallel
DEPENDS
vtkCommonCore
vtkParallelCore
PRIVATE_DEPENDS
vtkCommonDataModel
)
\ No newline at end of file
NAME
VTK::ParallelMPI
LIBRARY_NAME
vtkParallelMPI
KIT
VTK::Parallel
GROUPS
MPI
DEPENDS
VTK::CommonCore
VTK::ParallelCore
VTK::mpi
PRIVATE_DEPENDS
VTK::CommonDataModel
TEST_DEPENDS
VTK::FiltersParallel
VTK::FiltersSources
VTK::IOParallel
VTK::ImagingCore
VTK::ImagingSources
VTK::InteractionStyle
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