Commit 3cd6b857 authored by Ben Boeckel's avatar Ben Boeckel

ViewsQt: use automoc and install all public headers

This also makes the `vtkQtTableRepresentation.h` header get installed as
well.
parent 70fea84b
set(LibSrcs
vtkQtAnnotationView.cxx
vtkQtListView.cxx
vtkQtRecordView.cxx
vtkQtTableRepresentation.cxx
vtkQtTableView.cxx
vtkQtTreeView.cxx
vtkQtView.cxx
)
set(MocHeaders
vtkQtAnnotationView.h
vtkQtListView.h
vtkQtRecordView.h
vtkQtTableView.h
vtkQtTreeView.h
vtkQtView.h
)
set(classes
vtkQtAnnotationView
vtkQtListView
vtkQtRecordView
vtkQtTableRepresentation
vtkQtTableView
vtkQtTreeView
vtkQtView)
vtk_module_find_package(
PACKAGE Qt5
COMPONENTS Widgets
FORWARD_VERSION_REQ MINOR
VERSION_VAR Qt5_VERSION)
qt5_wrap_cpp(LibMocSrcs ${MocHeaders})
set(CMAKE_AUTOMOC 1)
vtk_module_add_module(VTK::ViewsQt
SOURCES ${LibSrcs} ${LibMocSrcs}
HEADERS ${MocHeaders})
CLASSES ${classes})
vtk_module_link(VTK::ViewsQt PRIVATE Qt5::Widgets)
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