[Paraview] Add plugin for a particular cmake target only

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Wed Apr 8 13:54:23 EDT 2015


The name of the plugin is the default name for the target used. If you
want to create another target, you can indeed use add_dependecies[1]
to add dependency on the new target to the target created by
add_paraview_plugin().

[1] http://www.cmake.org/cmake/help/v3.0/command/add_dependencies.html

On Tue, Mar 24, 2015 at 1:21 PM, Gonzalo Brito Gadeschi
<g.brito at aia.rwth-aachen.de> wrote:
> When I add a paraview plugin to my cmake project via:
>
> add_paraview_plugin(...)
>
> The plugin is compiled with just "make".
>
> It is possible to allow e.g. compiling the plugin via "make my_target"
> using:
>
> add_dependencies(my_target MyPlugin)
>
> Is it possible to avoid that the plugin is automatically compiled via "make"
> (without target)? That is, to control to which cmake target
> add_paraview_plugin adds the plugin too?
>
> Bests,
> Gonzalo BG
>
> --
> Dipl.-Ing. Gonzalo Brito Gadeschi
> Institute of Aerodynamics and Chair of Fluid Mechanics
> RWTH Aachen University
> Wuellnerstraße 5a
> D-52062 Aachen
> Germany
> Phone: ++49-(0)241-80-94821
> Fax: ++49-(0)241-80-92257
> E-mail:  g.brito at aia.rwth-aachen.de
> Internet: www.aia.rwth-aachen.de
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>


More information about the ParaView mailing list