[Paraview] Branded plugin libraries packaging

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Thu Apr 1 14:41:27 EDT 2010


A quick workaround is as follows:
* Set the PV_INSTALL_PLUGIN_DIR before your ADD_PARAVIEW_PLUGIN calls.
That will add install rules to install the plugin with component
"Runtime".

Utkarsh

On Thu, Apr 1, 2010 at 2:37 PM, Eric E. Monson <emonson at cs.duke.edu> wrote:
> Hey folks,
>
> A more general branded app packaging question:
>
> Is there any automatic mechanism in place to package plugin libraries with our branded apps? Right now I have a list of EXTRA_DEPENDENCIES in my build_paraview_client() section, and I build my plugins into my MainWindow class using the PV_PLUGIN_IMPORT macro stuff. But, for packaging I have written extra INSTALL rules for all of the plugin libraries in a platform-specific way like:
>
> IF (APPLE)
>  INSTALL(FILES
>          ${CMAKE_CURRENT_BINARY_DIR}/../CellGlyphPlugin/libCellGlyphPlugin.dylib
>         DESTINATION ${PV_INSTALL_LIB_DIR}
>         COMPONENT BrandedRuntime)
> ENDIF (APPLE)
> IF(WIN32 AND NOT UNIX)
>  INSTALL(FILES
>          ${CMAKE_CURRENT_BINARY_DIR}/../CellGlyphPlugin/Release/CellGlyphPlugin.dll
>         DESTINATION ${PV_INSTALL_LIB_DIR}
>         COMPONENT BrandedRuntime)
> ENDIF(WIN32 AND NOT UNIX)
>
> Since the system knows which libraries are needed and where they are for linking, is there any way it can know for installation/packaging, too?
>
> If not, that's fine, but I just wanted to make sure I wasn't doing it the manual way if a more automatic solution was in place.
>
> Thanks,
> -Eric
>
> ------------------------------------------------------
> Eric E Monson
> Duke Visualization Technology Group
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>


More information about the ParaView mailing list