Commit 6a279a02 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit Committed by Ben Boeckel

vtkIOExodus: update to the new module system

parent 9d123760
set(Module_SRCS
vtkCPExodusIIElementBlock.cxx
vtkCPExodusIIInSituReader.cxx
vtkCPExodusIINodalCoordinatesTemplate.txx
vtkCPExodusIIResultsArrayTemplate.txx
vtkExodusIICache.cxx
vtkExodusIIReader.cxx
vtkExodusIIReaderParser.cxx
vtkExodusIIReaderVariableCheck.cxx
vtkExodusIIWriter.cxx
vtkModelMetadata.cxx
)
set_source_files_properties(
set(classes
vtkCPExodusIIElementBlock
vtkCPExodusIIInSituReader
vtkExodusIICache
vtkExodusIIReader
vtkExodusIIReaderParser
vtkExodusIIReaderVariableCheck
PROPERTIES
SKIP_HEADER_INSTALL 1
)
vtkExodusIIWriter
vtkModelMetadata)
set(vtkIOExodus_HDRS
vtkCPExodusIINodalCoordinatesTemplate.h
vtkCPExodusIIResultsArrayTemplate.h
)
set(template_classes
vtkCPExodusIINodalCoordinatesTemplate
vtkCPExodusIIResultsArrayTemplate)
set(headers
vtkExodusIIReaderPrivate.h)
vtk_module_library(vtkIOExodus ${Module_SRCS})
vtk_module_add_module(VTK::IOExodus
CLASSES ${classes}
TEMPLATE_CLASSES ${template_classes}
HEADERS ${headers})
vtk_module_test_data(
Data/box-noglom.ex2
Data/can.ex2
Data/edgeFaceElem.exii)
add_subdirectory(Cxx)
if (VTK_WRAP_PYTHON)
vtk_module_test_data(
Data/cube-1.exo
Data/cyl_with_NaN.g
Data/dodecahedron.exo
Data/shared_face_polyhedra.exo)
add_subdirectory(Python)
endif ()
......@@ -23,7 +23,7 @@ vtk_test_cxx_executable(vtkIOExodusCxxTests tests
RENDERING_FACTORY)
ExternalData_add_test(VTKData
NAME vtkIOExodusCxx-Tetra15
NAME VTK::IOExodusCxx-Tetra15
COMMAND vtkIOExodusCxxTests TestExodusTetra15
-D ${VTK_TEST_DATA_DIR}
-V DATA{../Data/Baseline/TestExodusTetra15.png}
......@@ -32,7 +32,7 @@ ExternalData_add_test(VTKData
)
ExternalData_add_test(VTKData
NAME vtkIOExodusCxx-Wedge21
NAME VTK::IOExodusCxx-Wedge21
COMMAND vtkIOExodusCxxTests TestExodusWedge21
-D ${VTK_TEST_DATA_DIR}
-V DATA{../Data/Baseline/TestExodusWedge21.png}
......
vtk_module(vtkIOExodus
GROUPS
StandAlone
TEST_DEPENDS
vtkTestingRendering
vtkInteractionStyle
vtkRenderingOpenGL2
KIT
vtkIO
DEPENDS
vtkCommonCore
vtkCommonDataModel
vtkCommonExecutionModel
vtkIOCore
vtkIOXMLParser
vtkexodusII
PRIVATE_DEPENDS
vtkFiltersCore
vtksys
)
NAME
VTK::IOExodus
LIBRARY_NAME
vtkIOExodus
IMPLEMENTABLE
KIT
VTK::IO
GROUPS
StandAlone
DEPENDS
VTK::CommonCore
VTK::CommonDataModel
VTK::CommonExecutionModel
VTK::IOCore
VTK::IOXMLParser
VTK::exodusII
PRIVATE_DEPENDS
VTK::FiltersCore
VTK::vtksys
TEST_DEPENDS
VTK::FiltersGeometry
VTK::IOImage
VTK::InteractionStyle
VTK::RenderingOpenGL2
VTK::TestingRendering
#ifndef vtkExodusIIReaderPrivate_h
#define vtkExodusIIReaderPrivate_h
#ifndef __VTK_WRAP__
#ifndef VTK_WRAPPING_CXX
// Do not include this file directly. It is only for use
// from inside the ExodusII reader and its descendants.
......@@ -871,5 +873,7 @@ private:
void operator = ( const vtkExodusIIReaderPrivate& ) = delete;
};
#endif
#endif
#endif // vtkExodusIIReaderPrivate_h
// VTK-HeaderTest-Exclude: vtkExodusIIReaderPrivate.h
#ifndef vtkExodusIIReaderVariableCheck_h
#define vtkExodusIIReaderVariableCheck_h
#ifndef __VTK_WRAP__
#ifndef VTK_WRAPPING_CXX
#include "vtkExodusIIReaderPrivate.h" // for ArrayInfoType
......@@ -118,5 +120,7 @@ protected:
bool StillAdding;
};
#endif
#endif
#endif // vtkExodusIIReaderVariableCheck_h
// VTK-HeaderTest-Exclude: vtkExodusIIReaderVariableCheck.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