[vtk-developers] Dashboard build failures

Ben Boeckel ben.boeckel at kitware.com
Mon Oct 13 15:03:18 EDT 2014


On Mon, Oct 13, 2014 at 12:30:24 -0600, David Gobbi wrote:
> It is called multiple times.  It would be really convenient if cmake had a
> variable_unwatch() function.

CMake can have multiple watches on a variable; how would you tell which
one to remove? I suppose a result variable could hold a token for it,
but then you have the problem of getting that variable passed around
(the cache defeating the purpose here; global properties not really
being the right thing either).

> Or even better, the cmake set() function could have a DEPRECATED
> flag so that any use of the variable outside that set() call would trigger
> a deprecation warning.

A bug report would be nice for this ;) .

--Ben



More information about the vtk-developers mailing list