Plugin into a single ddl

Hi to all,

I’m porting my plugin to paraview 5.8 (last time I compiled the plugin was 5 years ago).
The plugin is compiled and I can load using my home compiled ParaView (using superbuild) as well as with the precompiled version from paraview.org (windows version). Using VS2015 x64 on Windows 10.

in my CMakeLists.txt I have something like:

....
paraview_add_plugin(PXDMFTools
    REQUIRED_ON_SERVER REQUIRED_ON_CLIENT
    VERSION ${PXDMFTools_VERSION}
    PYTHON_MODULES PxdmfTools.py
    MODULES
    PXDMFTools::AddZeros
    PXDMFTools::AnnotateFieldData
    ...

   MODULE_FILES
    "${CMAKE_CURRENT_SOURCE_DIR}/AddZeros/vtk.module"
    "${CMAKE_CURRENT_SOURCE_DIR}/AnnotateFieldData/vtk.module"
    ...

    UI_INTERFACES ....
    UI_RESOURCES ...
    UI_FILES ...
    SOURCES ...
)
...

the problem is that after compilation I have plenty of ddls to distribute, one for every module.
Can I compile into a single ddl to easy the distribution??

Felipe

Use : FORCE_STATIC

eg:

vtk_module_add_module(ElevationFilters
  FORCE_STATIC # Using FORCE_STATIC build the vtk module statically into the plugin library, to avoid confusion when loading                      
  CLASSES ${classes})

Hi, that was fast.

It works, I already test it.

Thanks.
Felipe