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

vtkIOParallel: update to the new module system

parent 22fc9cdd
set(Module_SRCS
vtkEnSightWriter.cxx
# vtkExodusIIWriter.cxx needs vtkMultiProcessController
vtkMultiBlockPLOT3DReader.cxx
vtkMultiBlockPLOT3DReaderInternals.cxx
vtkPlot3DMetaReader.cxx
vtkPChacoReader.cxx
vtkPDataSetReader.cxx
vtkPDataSetWriter.cxx
vtkPImageWriter.cxx
vtkPOpenFOAMReader.cxx
vtkPSLACReader.cxx
)
set(classes
vtkEnSightWriter
vtkMultiBlockPLOT3DReader
vtkPlot3DMetaReader
vtkPChacoReader
vtkPDataSetReader
vtkPDataSetWriter
vtkPImageWriter
vtkPOpenFOAMReader
vtkPSLACReader)
vtk_module_library(vtkIOParallel ${Module_SRCS})
set(sources
vtkMultiBlockPLOT3DReaderInternals.cxx)
set(private_headers
vtkMultiBlockPLOT3DReaderInternals.h)
vtk_module_add_module(VTK::IOParallel
CLASSES ${classes}
SOURCES ${sources}
PRIVATE_HEADERS ${private_headers})
vtk_module_test_data(
Data/OpenFOAM/cavity/,REGEX:.*
Data/OpenFOAM/cavity/0/,REGEX:.*
Data/OpenFOAM/cavity/0.5/,REGEX:.*
Data/OpenFOAM/cavity/0.5/uniform/,REGEX:.*
Data/OpenFOAM/cavity/1/,REGEX:.*
Data/OpenFOAM/cavity/1/uniform/,REGEX:.*
Data/OpenFOAM/cavity/1.5/,REGEX:.*
Data/OpenFOAM/cavity/1.5/uniform/,REGEX:.*
Data/OpenFOAM/cavity/2.5/,REGEX:.*
Data/OpenFOAM/cavity/2.5/uniform/,REGEX:.*
Data/OpenFOAM/cavity/2/,REGEX:.*
Data/OpenFOAM/cavity/2/uniform/,REGEX:.*
Data/OpenFOAM/cavity/constant/,REGEX:.*
Data/OpenFOAM/cavity/constant/polyMesh/,REGEX:.*
Data/OpenFOAM/cavity/system/,REGEX:.*
Data/bigendian.xyz)
if (VTK_USE_LARGE_DATA)
vtk_module_test_data(
Data/SLAC/ll-9cell-f523/ll-9cell-f523.ncdf
Data/SLAC/ll-9cell-f523/mode0.l0.R2.457036E+09I2.778314E+04.m3)
endif ()
add_subdirectory(Cxx)
if (VTK_WRAP_PYTHON)
vtk_module_test_data(
Data/beach.tif
Data/combq.bin
Data/combxyz.bin
Data/multicomb_0.vts)
add_subdirectory(Python)
endif ()
ExternalData_Expand_Arguments(VTKData _
"DATA{${VTK_TEST_INPUT_DIR}/OpenFOAM/cavity/,REGEX:.*}"
"DATA{${VTK_TEST_INPUT_DIR}/OpenFOAM/cavity/0/,REGEX:.*}"
"DATA{${VTK_TEST_INPUT_DIR}/OpenFOAM/cavity/0.5/,REGEX:.*}"
"DATA{${VTK_TEST_INPUT_DIR}/OpenFOAM/cavity/0.5/uniform/,REGEX:.*}"
"DATA{${VTK_TEST_INPUT_DIR}/OpenFOAM/cavity/1/,REGEX:.*}"
"DATA{${VTK_TEST_INPUT_DIR}/OpenFOAM/cavity/1/uniform/,REGEX:.*}"
"DATA{${VTK_TEST_INPUT_DIR}/OpenFOAM/cavity/1.5/,REGEX:.*}"
"DATA{${VTK_TEST_INPUT_DIR}/OpenFOAM/cavity/1.5/uniform/,REGEX:.*}"
"DATA{${VTK_TEST_INPUT_DIR}/OpenFOAM/cavity/2/,REGEX:.*}"
"DATA{${VTK_TEST_INPUT_DIR}/OpenFOAM/cavity/2/uniform/,REGEX:.*}"
"DATA{${VTK_TEST_INPUT_DIR}/OpenFOAM/cavity/2.5/,REGEX:.*}"
"DATA{${VTK_TEST_INPUT_DIR}/OpenFOAM/cavity/2.5/uniform/,REGEX:.*}"
"DATA{${VTK_TEST_INPUT_DIR}/OpenFOAM/cavity/constant/,REGEX:.*}"
"DATA{${VTK_TEST_INPUT_DIR}/OpenFOAM/cavity/constant/polyMesh/,REGEX:.*}"
"DATA{${VTK_TEST_INPUT_DIR}/OpenFOAM/cavity/system/,REGEX:.*}"
"DATA{${VTK_TEST_INPUT_DIR}/OpenFOAM/cavity/system/,REGEX:.*}"
)
vtk_add_test_cxx(vtkIOParallelCxxTests tests
TestPOpenFOAMReader.cxx
TestBigEndianPlot3D.cxx,NO_VALID
......@@ -23,17 +5,10 @@ vtk_add_test_cxx(vtkIOParallelCxxTests tests
vtk_test_cxx_executable(vtkIOParallelCxxTests tests)
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}/SLAC/ll-9cell-f523/,REGEX:.*}"
)
vtk_add_test_mpi(vtkIOParallelCxxTests-MPI tests
TESTING_DATA
PSLACReaderLinear.cxx
PSLACReaderQuadratic.cxx
)
vtk_test_mpi_executable(vtkIOParallelCxxTests-MPI tests)
vtk_test_cxx_executable(vtkIOParallelCxxTests-MPI tests)
endif()
vtk_module(vtkIOParallel
GROUPS
StandAlone
TEST_DEPENDS
vtkParallelMPI
vtkRenderingParallel
vtkTestingCore
vtkTestingRendering
KIT
vtkParallel
DEPENDS
vtkCommonCore
vtkCommonDataModel
vtkCommonExecutionModel
vtkIOCore
vtkIOGeometry
vtkIOImage
vtkIOLegacy
vtkIONetCDF
PRIVATE_DEPENDS
vtkCommonMisc
vtkCommonSystem
vtkFiltersCore
vtkFiltersExtraction
vtkFiltersParallel
vtkParallelCore
vtkexodusII
vtkjsoncpp
vtknetcdf
vtksys
)
\ No newline at end of file
NAME
VTK::IOParallel
LIBRARY_NAME
vtkIOParallel
KIT
VTK::Parallel
GROUPS
StandAlone
IMPLEMENTABLE
DEPENDS
VTK::CommonCore
VTK::CommonDataModel
VTK::CommonExecutionModel
VTK::IOCore
VTK::IOGeometry
VTK::IOImage
VTK::IOLegacy
VTK::IONetCDF
VTK::jsoncpp
PRIVATE_DEPENDS
VTK::CommonMisc
VTK::CommonSystem
VTK::FiltersCore
VTK::FiltersExtraction
VTK::FiltersParallel
VTK::ParallelCore
VTK::exodusII
VTK::netcdf
VTK::vtksys
TEST_DEPENDS
VTK::FiltersGeometry
VTK::ImagingCore
VTK::InteractionImage
VTK::ParallelMPI
VTK::RenderingParallel
VTK::TestingCore
VTK::TestingRendering
......@@ -14,7 +14,6 @@
=========================================================================*/
#ifndef vtkMultiBlockPLOT3DReaderInternals_h
#define vtkMultiBlockPLOT3DReaderInternals_h
#ifndef __VTK_WRAP__
#include "vtkIOParallelModule.h" // For export macro
#include "vtkByteSwap.h"
......@@ -210,6 +209,5 @@ public:
};
#endif
#endif
// VTK-HeaderTest-Exclude: vtkMultiBlockPLOT3DReaderInternals.h
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