[Paraview] Add plugin for a particular cmake target only

Gonzalo Brito Gadeschi g.brito at aia.rwth-aachen.de
Tue Mar 24 13:21:23 EDT 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150324/a151ed36/attachment.html>


More information about the ParaView mailing list