Plugin - How to make a plugin with several dependencies and headers
Hello all,
I would like to to write a Reader plugin to read a specific mesh format for geological model that we develop in my lab. We have a library which handle the data structure of the geological model, and the associated mesh. It compiles to shared library.
So I would like to make a plugin of paraview, which is able to link with our library and which will know the header files.
I use this command in my CMakeLists.txt:
# Import ParaView targets
find_package(ParaView REQUIRED PATHS ${ParaView_INSTALL_PREFIX})
include(${PARAVIEW_USE_FILE})
ADD_PARAVIEW_PLUGIN(GeoModelReader "1.0"
SERVER_MANAGER_XML GeoModelReader.xml
SERVER_MANAGER_SOURCES src/ringmesh_paraview/vtkGeoModelReader.cpp
REQUIRED_ON_SERVER)
How can I specify the location of other header files and my dynamic library ?
Thanks in advance,