[vtk-developers] Correct packaging of Tcl/Python/Java wrappers
David Gobbi
david.gobbi at gmail.com
Sun Sep 17 17:36:09 EDT 2017
Hi Stephan,
As far as I understand, VTKTargets.cmake has no dependencies. It is just a
list of targets that cmake produces at configuration time. Those targets
only become dependencies when they are used in build rules.
When you try to build a C++ project against VTK, does the build actually
fail if the bindings are missing?
- David
On Sat, Sep 16, 2017 at 5:33 PM, Stefan Bruens <stefan.bruens at rwth-aachen.de
> wrote:
> On Donnerstag, 14. September 2017 23:30:12 CEST David Gobbi wrote:
> > Hi Sefan,
> >
> > Yes, the vtkWrap* and vtkParseJava executables are only for development,
> > they are not required at runtime.
> >
> > - David
>
> Hi David,
>
> thanks so far. I have tried to create a clean split between the different
> wrappers, but unfortunately for the devel package, I was not successful:
>
> The VTKConfig.cmake includes VTKTargets.cmake, which has a hard dependency
> to
> *all* created targets, e.g. binaries, libraries, etc. Even when building
> a C
> programm which only requires only the VTK libraries, but none of the
> bindings,
> this pulls in all bindings and their dependencies.
>
> Are the targets defined in VTKTargets really needed when using prebuilt VTK
> libraries?
>
> Kind regards,
>
> Stefan
>
>
> > On Thu, Sep 14, 2017 at 2:42 PM, Brüns, Stefan <
> Stefan.Bruens at rwth-aachen.de
> > > wrote:
> > >
> > > Hi folks,
> > >
> > > commonly distributions split VTK into several packages, e.g.:
> > >
> > > - libvtk (VTK implementation shared libraries)
> > > - vtk-python (Python wrappers)
> > > - vtk-java (Java wrappers)
> > > - vtk-tcl (Tcl wrappers)
> > > - vtk-devel (development headers, cmake files)
> > >
> > > As far as I understand, the vtkWrap{Python,Tcl,Java}{,Init}
> executables
> > > are
> > > used to generate the wrappers itself, and can be used to generate
> wrappers
> > > for
> > > e.g. derived classes.
> > >
> > > These executables are no runtime dependency of the wrappers, and as
> such
> > > should be packaged with the development headers, correct?
> > >
> > > Kind regards,
> > >
> > > Stefan
> > > _______________________________________________
> > > Powered by www.kitware.com
> > >
> > > Visit other Kitware open-source projects at http://www.kitware.com/
> > > opensource/opensource.html
> > >
> > > Search the list archives at: http://markmail.org/search/?q=
> vtk-developers
> > >
> > > Follow this link to subscribe/unsubscribe:
> > > http://public.kitware.com/mailman/listinfo/vtk-developers
>
>
> --
> Stefan Brüns / Bergstraße 21 / 52062 Aachen
> home: +49 241 53809034 mobile: +49 151 50412019
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20170917/75f0d5df/attachment.html>
More information about the vtk-developers
mailing list