Commit 3629ebaa authored by Ben Boeckel's avatar Ben Boeckel

vtkPythonContext2D: update to the new module system

parent c5f63c47
set(module_SRCS
vtkPythonItem.cxx
)
set(classes
vtkPythonItem)
vtk_module_library(vtkPythonContext2D ${module_SRCS})
vtk_module_add_module(VTK::PythonContext2D
CLASSES ${classes})
if (VTK_WRAP_PYTHON)
add_subdirectory(Python)
endif ()
if (VTK_WRAP_PYTHON)
vtk_module(vtkPythonContext2D
GROUPS
StandAlone
COMPILE_DEPENDS
vtkPython
OPTIONAL_PYTHON_LINK
EXCLUDE_FROM_JAVA_WRAPPING
TEST_DEPENDS
vtkTestingCore
KIT
vtkWrapping
DEPENDS
vtkRenderingContext2D
PRIVATE_DEPENDS
vtkCommonCore
vtkWrappingPythonCore
)
endif ()
NAME
VTK::PythonContext2D
LIBRARY_NAME
vtkPythonContext2D
CONDITION
VTK_WRAP_PYTHON
GROUPS
StandAlone
DEPENDS
VTK::RenderingContext2D
PRIVATE_DEPENDS
VTK::CommonCore
VTK::WrappingPythonCore
TEST_DEPENDS
VTK::TestingCore
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