[vtk-developers] Correct packaging of Tcl/Python/Java wrappers
David Gobbi
david.gobbi at gmail.com
Mon Sep 18 09:26:40 EDT 2017
Thats funny, in my own build (VTK master, cmake 3.5) I deleted some of the
target files and then configured & built a project against VTK, and cmake
didn't give me any warnings or errors. I'll have to experiment some more
to be sure that I understand what's going on.
- David
On Mon, Sep 18, 2017 at 5:44 AM, Ben Boeckel <ben.boeckel at kitware.com>
wrote:
> On Sun, Sep 17, 2017 at 15:36:09 -0600, David Gobbi wrote:
> > 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?
>
> Yes, CMake verifies targets that are created. Those with non-existant
> LOCATION values are errors. The `-devel` package should require
> everything.
>
> Alternatively, if the wrapper libraries aren't meant to be linked to
> directly, we can skip exporting them to VTKTargets.cmake in the first
> place. We could also create different export sets for each language
> binding.
>
> --Ben
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20170918/9cbbc21d/attachment.html>
More information about the vtk-developers
mailing list