CMakeLists.txt 566 Bytes
Newer Older
1 2
include(vtkObjectFactory)

3 4
set(Module_SRCS
  vtkMatplotlibMathTextUtilities.cxx
5
  ${CMAKE_CURRENT_BINARY_DIR}/${vtk-module}ObjectFactory.cxx
6
  )
7 8 9 10 11 12
set_source_files_properties(
  ${vtk-module}ObjectFactory
  PROPERTIES
    WRAP_EXCLUDE 1
    WRAP_EXCLUDE_PYTHON 1
  )
13 14 15 16

# Override some rendering classes. Create object factory:
list(APPEND vtk_module_overrides "vtkMathTextUtilities")
set(vtk_module_vtkMathTextUtilities_override "vtkMatplotlibMathTextUtilities")
17
vtk_object_factory_configure("${vtk_module_overrides}")
18 19

vtk_module_library(${vtk-module} ${Module_SRCS})