Commit 66844d0f authored by Ben Boeckel's avatar Ben Boeckel

vtkIOMotionFX: update to the new module system

parent 7b4abafd
set(Module_SRCS
vtkMotionFXCFGReader.cxx
)
vtk_module_library(vtkIOMotionFX ${Module_SRCS})
set(classes
vtkMotionFXCFGReader)
vtk_module_add_module(VTK::IOMotionFX
CLASSES ${classes})
vtk_module_test_data(
Data/MotionFX/2_gears/,REGEX:.*
Data/MotionFX/planetary/,REGEX:.*
Data/MotionFX/position_file/,REGEX:.*)
add_subdirectory(Cxx)
# Tests with data
ExternalData_Expand_Arguments(VTKData _
"DATA{${VTK_TEST_INPUT_DIR}/MotionFX/,RECURSE:,REGEX:.*}"
)
vtk_add_test_cxx(vtkIOMotionFXCxxTests tests
NO_OUTPUT
TestMotionFXCFGReader2Gears.cxx
......
vtk_module(vtkIOMotionFX
# leaving this out of StandAlone for now since
# vtkpegtl doesn't support VS2013. Once we drop VS2013 we can make this
# module a StandAlone module.
# GROUPS
# StandAlone
DEPENDS
vtkCommonExecutionModel
PRIVATE_DEPENDS
vtkCommonDataModel
vtkCommonMisc
vtkIOGeometry
vtksys
vtkpegtl
TEST_DEPENDS
vtkTestingCore
vtkInteractionStyle
vtkRenderingOpenGL2
vtkTestingRendering
)
NAME
VTK::IOMotionFX
LIBRARY_NAME
vtkIOMotionFX
CONDITION
NOT CMAKE_CXX_COMPILER_ID STREQUAL "MSVC" OR CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "18.0.0"
GROUPS
StandAlone
DEPENDS
VTK::CommonExecutionModel
PRIVATE_DEPENDS
VTK::CommonDataModel
VTK::CommonMisc
VTK::IOGeometry
VTK::pegtl
VTK::vtksys
TEST_DEPENDS
VTK::InteractionStyle
VTK::RenderingOpenGL2
VTK::TestingCore
VTK::TestingRendering
fa5997ce45b3554ec5466b1dd69667d0263211a24bfc8003762548c4e1a07768978cf2c71f7feb7b5112b4a5df4479ea4797e58185086b7cbbb0d7116ad83e67
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