Commit 1a1d6066 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit Committed by Ben Boeckel

vtkRenderingLabel: update to the new module system

parent ce47b74d
set(Module_SRCS
vtkLabeledDataMapper.cxx
vtkLabeledTreeMapDataMapper.cxx
vtkLabelHierarchyAlgorithm.cxx
vtkLabelHierarchyCompositeIterator.cxx
vtkLabelHierarchy.cxx
vtkLabelHierarchyIterator.cxx
vtkLabelPlacementMapper.cxx
vtkLabelPlacer.cxx
vtkLabelRenderStrategy.cxx
vtkLabelSizeCalculator.cxx
vtkFreeTypeLabelRenderStrategy.cxx
vtkDynamic2DLabelMapper.cxx
vtkPointSetToLabelHierarchy.cxx
)
set(classes
vtkDynamic2DLabelMapper
vtkFreeTypeLabelRenderStrategy
vtkLabeledDataMapper
vtkLabeledTreeMapDataMapper
vtkLabelHierarchyAlgorithm
vtkLabelHierarchyCompositeIterator
vtkLabelHierarchy
vtkLabelHierarchyIterator
vtkLabelPlacementMapper
vtkLabelPlacer
vtkLabelRenderStrategy
vtkLabelSizeCalculator
vtkPointSetToLabelHierarchy)
include_directories(${VTK_SOURCE_DIR}/Utilities) # octree
vtk_module_library(vtkRenderingLabel ${Module_SRCS})
vtk_module_add_module(VTK::RenderingLabel
CLASSES ${classes})
# TODO: need to convert octree to module.
target_include_directories(vtkRenderingLabel
PRIVATE
${VTK_SOURCE_DIR}/Utilities) # octree
vtk_module_test_data(
Data/uniform-001371-5x5x5.vtp)
add_subdirectory(Cxx)
if (VTK_WRAP_PYTHON)
vtk_module_test_data(
Data/headsq/,REGEX:.*)
add_subdirectory(Python)
endif ()
vtk_module(vtkRenderingLabel
GROUPS
Rendering
TEST_DEPENDS
vtkIOXML
vtkTestingCore
vtkTestingRendering
vtkRenderingOpenGL2
vtkInteractionStyle
KIT
vtkRendering
DEPENDS
vtkCommonCore
vtkCommonDataModel
vtkCommonExecutionModel
vtkRenderingCore
vtkRenderingFreeType
PRIVATE_DEPENDS
vtkCommonMath
vtkCommonSystem
vtkCommonTransforms
vtkFiltersGeneral
)
NAME
VTK::RenderingLabel
LIBRARY_NAME
vtkRenderingLabel
KIT
VTK::Rendering
GROUPS
Rendering
DEPENDS
VTK::CommonCore
VTK::CommonDataModel
VTK::CommonExecutionModel
VTK::RenderingCore
VTK::RenderingFreeType
PRIVATE_DEPENDS
VTK::CommonMath
VTK::CommonSystem
VTK::CommonTransforms
VTK::FiltersGeneral
VTK::octree
TEST_DEPENDS
VTK::FiltersGeneral
VTK::FiltersSources
VTK::IOXML
VTK::InteractionStyle
VTK::RenderingOpenGL2
VTK::TestingCore
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