Commit 3ecebb34 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit Committed by Ben Boeckel
Browse files

vtkIOSegY: update to the new module system

parent 424fdf5d
set(Module_SRCS
vtkSegYReader.cxx
)
set(classes
vtkSegYReader)
set (Module_PRIVATE_SRCS
set(sources
vtkSegYIOUtils.cxx
vtkSegYReaderInternal.cxx
vtkSegYTraceReader.cxx
)
vtkSegYTraceReader.cxx)
vtk_module_library(vtkIOSegY ${Module_SRCS} ${Module_PRIVATE_SRCS})
set(private_headers
vtkSegYIOUtils.h
vtkSegYReaderInternal.h
vtkSegYTraceReader.h)
vtk_module_add_module(VTK::IOSegY
CLASSES ${classes}
SOURCES ${sources}
PRIVATE_HEADERS ${private_headers})
vtk_module_test_data(
Data/SegY/,REGEX:.*)
add_subdirectory(Cxx)
ExternalData_Expand_Arguments(VTKData _
"DATA{${VTK_TEST_INPUT_DIR}/SegY/,REGEX:.*}"
)
vtk_add_test_cxx(vtkIOSegYCxxTests tests
TestSegY2DReader.cxx
TestSegY2DReaderZoom.cxx
......
vtk_module(vtkIOSegY
GROUPS
StandAlone
TEST_DEPENDS
vtkInteractionStyle
vtkRenderingOpenGL2
vtkTestingCore
vtkTestingRendering
KIT
vtkIO
DEPENDS
vtkCommonDataModel
vtkCommonExecutionModel
vtkIOImage
PRIVATE_DEPENDS
vtkCommonCore
)
NAME
VTK::IOSegY
LIBRARY_NAME
vtkIOSegY
KIT
VTK::IO
GROUPS
StandAlone
DEPENDS
VTK::CommonDataModel
VTK::CommonExecutionModel
VTK::IOImage
PRIVATE_DEPENDS
VTK::CommonCore
TEST_DEPENDS
VTK::InteractionStyle
VTK::RenderingOpenGL2
VTK::TestingCore
VTK::TestingRendering
......@@ -15,7 +15,6 @@
#ifndef vtkSegYIOUtils_h
#define vtkSegYIOUtils_h
#ifndef __VTK_WRAP__
#include <fstream>
......@@ -47,6 +46,5 @@ private:
}
};
#endif
#endif // vtkSegYIOUtils_h
// VTK-HeaderTest-Exclude: vtkSegYIOUtils.h
......@@ -15,7 +15,6 @@
#ifndef vtkSegYTraceReader_h
#define vtkSegYTraceReader_h
#ifndef __VTK_WRAP__
#include <fstream>
#include <vector>
......@@ -66,6 +65,5 @@ public:
int GetTraceSize(int numSamples, int formatCode);
};
#endif
#endif // vtkSegYTraceReader_h
// VTK-HeaderTest-Exclude: vtkSegYTraceReader.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