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 set(classes
vtkSegYReader.cxx vtkSegYReader)
)
set (Module_PRIVATE_SRCS set(sources
vtkSegYIOUtils.cxx vtkSegYIOUtils.cxx
vtkSegYReaderInternal.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) add_subdirectory(Cxx)
ExternalData_Expand_Arguments(VTKData _
"DATA{${VTK_TEST_INPUT_DIR}/SegY/,REGEX:.*}"
)
vtk_add_test_cxx(vtkIOSegYCxxTests tests vtk_add_test_cxx(vtkIOSegYCxxTests tests
TestSegY2DReader.cxx TestSegY2DReader.cxx
TestSegY2DReaderZoom.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 @@ ...@@ -15,7 +15,6 @@
#ifndef vtkSegYIOUtils_h #ifndef vtkSegYIOUtils_h
#define vtkSegYIOUtils_h #define vtkSegYIOUtils_h
#ifndef __VTK_WRAP__
#include <fstream> #include <fstream>
...@@ -47,6 +46,5 @@ private: ...@@ -47,6 +46,5 @@ private:
} }
}; };
#endif
#endif // vtkSegYIOUtils_h #endif // vtkSegYIOUtils_h
// VTK-HeaderTest-Exclude: vtkSegYIOUtils.h // VTK-HeaderTest-Exclude: vtkSegYIOUtils.h
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
#ifndef vtkSegYTraceReader_h #ifndef vtkSegYTraceReader_h
#define vtkSegYTraceReader_h #define vtkSegYTraceReader_h
#ifndef __VTK_WRAP__
#include <fstream> #include <fstream>
#include <vector> #include <vector>
...@@ -66,6 +65,5 @@ public: ...@@ -66,6 +65,5 @@ public:
int GetTraceSize(int numSamples, int formatCode); int GetTraceSize(int numSamples, int formatCode);
}; };
#endif
#endif // vtkSegYTraceReader_h #endif // vtkSegYTraceReader_h
// VTK-HeaderTest-Exclude: 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