Commit f5e6720e authored by Utkarsh Ayachit's avatar Utkarsh Ayachit Committed by Ben Boeckel
Browse files

vtkFiltersOpenTurns: update to the new module system

parent 2a40ea3f
find_package(OpenTURNS 1.11 REQUIRED) find_package(OpenTURNS 1.8 REQUIRED)
# XXX(fixme)
include(${OPENTURNS_USE_FILE}) include(${OPENTURNS_USE_FILE})
set(Module_SRCS set(classes
vtkOTDensityMap.cxx vtkOTDensityMap
vtkOTFilter.cxx vtkOTFilter
vtkOTKernelSmoothing.cxx vtkOTKernelSmoothing
vtkOTScatterPlotMatrix.cxx vtkOTScatterPlotMatrix
${CMAKE_CURRENT_BINARY_DIR}/${vtk-module}ObjectFactory.cxx vtkOTUtilities)
vtkOTUtilities.cxx)
include(vtkObjectFactory) vtk_object_factory_declare(
vtk_add_override(vtkScatterPlotMatrix vtkOTScatterPlotMatrix) BASE vtkScatterPlotMatrix
vtk_object_factory_configure("${vtk_module_overrides}") OVERRIDE vtkOTScatterPlotMatrix)
vtk_module_library(vtkFiltersOpenTurns ${Module_SRCS}) vtk_object_factory_configure(
target_include_directories(vtkFiltersOpenTurns PUBLIC ${OPENTURNS_INCLUDE_DIRS}) SOURCE_FILE vtk_object_factory_source
target_link_libraries(vtkFiltersOpenTurns LINK_PRIVATE ${OPENTURNS_LIBRARIES}) HEADER_FILE vtk_object_factory_header
EXPORT_MACRO "VTKFILTERSOPENTURNS_EXPORT")
vtk_module_add_module(VTK::FiltersOpenTurns
CLASSES ${classes}
SOURCES ${vtk_object_factory_source}
PRIVATE ${vtk_object_factory_header})
vtk_module_link(VTK::FiltersOpenTurns
PRIVATE
${OPENTURNS_LIBRARIES})
vtk_module_include(VTK::FiltersOpenTurns
PRIVATE
${OPENTURNS_INCLUDE_DIRS})
vtk_module_test_data(
Data/vehicle_data.csv)
add_subdirectory(Cxx) add_subdirectory(Cxx)
vtk_module(vtkFiltersOpenTurns
EXCLUDE_FROM_ALL
IMPLEMENTS
vtkChartsCore
DEPENDS
vtkChartsCore
vtkCommonCore
vtkCommonDataModel
vtkCommonExecutionModel
vtkFiltersCore
TEST_DEPENDS
vtkIOInfovis
vtkRenderingContextOpenGL2
vtkTestingCore
vtkTestingRendering
vtkViewsContext2D
)
NAME
VTK::FiltersOpenTurns
LIBRARY_NAME
vtkFiltersOpenTurns
IMPLEMENTS
VTK::ChartsCore
DEPENDS
VTK::ChartsCore
VTK::CommonCore
VTK::CommonDataModel
VTK::CommonExecutionModel
VTK::FiltersCore
TEST_DEPENDS
VTK::IOInfovis
VTK::RenderingContextOpenGL2
VTK::TestingCore
VTK::TestingRendering
VTK::ViewsContext2D
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