Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Scott Wittenburg
VTK
Commits
f57d91d7
Commit
f57d91d7
authored
Jan 03, 2018
by
Utkarsh Ayachit
⛰
Committed by
Ben Boeckel
Jan 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vtkIOMPIImage: update to the new module system
parent
24e3eaa9
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
51 additions
and
40 deletions
+51
-40
IO/MPIImage/CMakeLists.txt
IO/MPIImage/CMakeLists.txt
+18
-13
IO/MPIImage/Testing/CMakeLists.txt
IO/MPIImage/Testing/CMakeLists.txt
+3
-0
IO/MPIImage/Testing/Cxx/CMakeLists.txt
IO/MPIImage/Testing/Cxx/CMakeLists.txt
+1
-3
IO/MPIImage/Testing/Cxx/ParallelIso.cxx
IO/MPIImage/Testing/Cxx/ParallelIso.cxx
+1
-1
IO/MPIImage/Testing/Cxx/ParallelIso2.cxx
IO/MPIImage/Testing/Cxx/ParallelIso2.cxx
+1
-1
IO/MPIImage/module.cmake
IO/MPIImage/module.cmake
+0
-22
IO/MPIImage/vtk.module
IO/MPIImage/vtk.module
+27
-0
No files found.
IO/MPIImage/CMakeLists.txt
View file @
f57d91d7
include
(
vtkMPI
)
include
(
vtkObjectFactory
)
set
(
Module_SRCS
vtkPNrrdReader.cxx
vtkMPIImageReader.cxx
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
vtk-module
}
ObjectFactory.cxx
)
set
(
classes
vtkPNrrdReader
vtkMPIImageReader
)
# Now to generate our object factory.
vtk_add_override
(
vtkNrrdReader vtkPNrrdReader
)
vtk_add_override
(
vtkMPIImageReader vtkImageReader
)
vtk_object_factory_configure
(
"
${
vtk_module_overrides
}
"
)
vtk_object_factory_declare
(
BASE vtkNrrdReader
OVERRIDE vtkPNrrdReader
)
vtk_object_factory_declare
(
BASE vtkImageReader
OVERRIDE vtkMPIImageReader
)
vtk_object_factory_configure
(
SOURCE_FILE vtk_object_factory_source
HEADER_FILE vtk_object_factory_header
EXPORT_MACRO
"VTKIOMPIIMAGE_EXPORT"
)
vtk_module_library
(
vtkIOMPIImage
${
Module_SRCS
}
)
vtk_mpi_link
(
${
vtk-module
}
)
vtk_module_add_module
(
VTK::IOMPIImage
CLASSES
${
classes
}
SOURCES
${
vtk_object_factory_source
}
PRIVATE_HEADERS
${
vtk_object_factory_header
}
)
IO/MPIImage/Testing/CMakeLists.txt
View file @
f57d91d7
vtk_module_test_data
(
Data/headsq/,REGEX:.*
)
add_subdirectory
(
Cxx
)
IO/MPIImage/Testing/Cxx/CMakeLists.txt
View file @
f57d91d7
include
(
vtkMPI
)
vtk_add_test_mpi
(
vtkIOMPIImageCxxTests-MPI tests
TESTING_DATA
ParallelIso.cxx
ParallelIso2.cxx
)
vtk_test_
mpi
_executable
(
vtkIOMPIImageCxxTests-MPI tests
)
vtk_test_
cxx
_executable
(
vtkIOMPIImageCxxTests-MPI tests
)
IO/MPIImage/Testing/Cxx/ParallelIso.cxx
View file @
f57d91d7
...
...
@@ -18,7 +18,7 @@
// All satellite processes send the result to the first process which
// collects and renders them.
#include <
mpi
.h>
#include <
vtkMPI
.h>
#include "vtkActor.h"
#include "vtkAppendPolyData.h"
...
...
IO/MPIImage/Testing/Cxx/ParallelIso2.cxx
View file @
f57d91d7
...
...
@@ -18,7 +18,7 @@
// All satellite processes send the result to the first process which
// collects and renders them.
#include <
mpi
.h>
#include <
vtkMPI
.h>
#include "vtkActor.h"
#include "vtkAppendPolyData.h"
...
...
IO/MPIImage/module.cmake
deleted
100644 → 0
View file @
24e3eaa9
vtk_module
(
vtkIOMPIImage
IMPLEMENTS
vtkIOImage
GROUPS
MPI
TEST_DEPENDS
vtkTestingCore
vtkTestingRendering
vtkInteractionStyle
vtkRenderingOpenGL2
KIT
vtkParallel
DEPENDS
vtkIOImage
PRIVATE_DEPENDS
vtkCommonCore
vtkCommonDataModel
vtkCommonTransforms
vtkParallelCore
vtkParallelMPI
vtksys
)
IO/MPIImage/vtk.module
0 → 100644
View file @
f57d91d7
NAME
VTK
::
IOMPIImage
LIBRARY_NAME
vtkIOMPIImage
KIT
VTK
::
Parallel
GROUPS
MPI
IMPLEMENTS
VTK
::
IOImage
DEPENDS
VTK
::
IOImage
PRIVATE_DEPENDS
VTK
::
CommonCore
VTK
::
CommonDataModel
VTK
::
CommonTransforms
VTK
::
ParallelCore
VTK
::
ParallelMPI
VTK
::
mpi
VTK
::
vtksys
TEST_DEPENDS
VTK
::
FiltersSources
VTK
::
InteractionStyle
VTK
::
ParallelMPI
VTK
::
RenderingOpenGL2
VTK
::
TestingCore
VTK
::
TestingRendering
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment