[vtk-developers] Correct packaging of Tcl/Python/Java wrappers

Ben Boeckel ben.boeckel at kitware.com
Mon Sep 18 07:44:08 EDT 2017


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


More information about the vtk-developers mailing list