Commit 22fc9cdd authored by Utkarsh Ayachit's avatar Utkarsh Ayachit Committed by Ben Boeckel

vtkIOPLY: update to the new module system

parent 0cf70baf
set(Module_SRCS
vtkPLY.cxx
vtkPLYReader.cxx
vtkPLYWriter.cxx
)
set(classes
vtkPLY
vtkPLYReader
vtkPLYWriter)
vtk_module_library(vtkIOPLY ${Module_SRCS})
vtk_module_add_module(VTK::IOPLY
CLASSES ${classes})
vtk_module_test_data(
Data/Armadillo.ply
Data/PointCloud.ply
Data/bunny.ply
Data/squareTextured.ply
Data/squareTexturedFaces.ply
Data/vtk.png)
add_subdirectory(Cxx)
if (VTK_WRAP_PYTHON)
......
......@@ -5,10 +5,10 @@ vtk_add_test_cxx(vtkIOPLYCxxTests tests
TestPLYWriterAlpha.cxx
TestPLYWriter.cxx,NO_VALID
)
vtk_add_test_cxx(${vtk-module}CxxTests tests
vtk_add_test_cxx(vtkIOPLYCxxTests tests
TestPLYReaderTextureUVPoints,TestPLYReaderTextureUV.cxx squareTextured.ply
)
vtk_add_test_cxx(${vtk-module}CxxTests tests
vtk_add_test_cxx(vtkIOPLYCxxTests tests
TestPLYReaderTextureUVFaces,TestPLYReaderTextureUV.cxx squareTexturedFaces.ply
)
vtk_test_cxx_executable(${vtk-module}CxxTests tests)
vtk_test_cxx_executable(vtkIOPLYCxxTests tests)
vtk_module(vtkIOPLY
GROUPS
StandAlone
TEST_DEPENDS
vtkRenderingOpenGL2
vtkIOImage
vtkTestingRendering
vtkInteractionStyle
KIT
vtkIO
DEPENDS
vtkCommonCore
vtkIOCore
PRIVATE_DEPENDS
vtkCommonDataModel
vtkCommonMisc
vtksys
)
NAME
VTK::IOPLY
LIBRARY_NAME
vtkIOPLY
KIT
VTK::IO
GROUPS
StandAlone
DEPENDS
VTK::CommonCore
VTK::IOCore
PRIVATE_DEPENDS
VTK::CommonDataModel
VTK::CommonMisc
VTK::vtksys
TEST_DEPENDS
VTK::FiltersSources
VTK::IOImage
VTK::InteractionStyle
VTK::RenderingOpenGL2
VTK::TestingRendering
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