<div dir="ltr">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.<div><br></div><div> - David<br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 18, 2017 at 5:44 AM, Ben Boeckel <span dir="ltr"><<a href="mailto:ben.boeckel@kitware.com" target="_blank">ben.boeckel@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sun, Sep 17, 2017 at 15:36:09 -0600, David Gobbi wrote:<br>
> As far as I understand, VTKTargets.cmake has no dependencies. It is just a<br>
> list of targets that cmake produces at configuration time. Those targets<br>
> only become dependencies when they are used in build rules.<br>
><br>
> When you try to build a C++ project against VTK, does the build actually<br>
> fail if the bindings are missing?<br>
<br>
</span>Yes, CMake verifies targets that are created. Those with non-existant<br>
LOCATION values are errors. The `-devel` package should require<br>
everything.<br>
<br>
Alternatively, if the wrapper libraries aren't meant to be linked to<br>
directly, we can skip exporting them to VTKTargets.cmake in the first<br>
place. We could also create different export sets for each language<br>
binding.<br>
<span class="HOEnZb"><font color="#888888"><br>
--Ben<br>
</font></span></blockquote></div><br></div></div></div>