[vtk-developers] Request: turn off BTX/ETX in some dashboad builds

David Gobbi david.gobbi at gmail.com
Fri Jul 9 11:04:07 EDT 2010


I would love that.  But it would certainly break ParaView.

There is probably some way to make the wrappers ignore BTX/ETX for
VTK's own classes, but to apply BTX/ETX for external classes.  I can
look into doing this.  In fact, it would be easy for me to do.  The
new vtkWrapXXX executables take an optional "--hierarchy" option that
gives the vtkKitHierarchy.txt file that they use for deciding what
method arguments to wrap.   This is how they know what to wrap even
when BTX/ETX is turned off.  So if I make ignoring BTX/ETX conditional
on the existence of the --heirarchy option, everything works out
perfectly.

   David


On Fri, Jul 9, 2010 at 8:50 AM, David Cole <david.cole at kitware.com> wrote:
> Maybe as a community, we should all be brave enough to simply turn the
> option on in the CMakeLists.txt file for a few days and see what happens on
> all the existing dashboards. We can always turn it right back off after even
> just one day if it introduces massive problems.
>
> :-)
> David C.
>
> On Fri, Jul 9, 2010 at 9:38 AM, Marcus D. Hanwell
> <marcus.hanwell at kitware.com> wrote:
>>
>> On Fri, Jul 9, 2010 at 8:54 AM, David Gobbi <david.gobbi at gmail.com> wrote:
>>>
>>> I was wondering if some brave volunteers could turn on the
>>> VTK_IGNORE_BTX option in their dashboard builds.  This will cause the
>>> wrappers to ignore the BTX/ETX markers in the header files and parse
>>> everything.  The idea is that the wrappers can figure out for
>>> themselves what they can wrap, without needing hints in the header
>>> files.  Eventually it would be nice to eliminate BTX/ETX from all VTK
>>> code.
>>>
>>> A caveat, though, is not to do this if you are running ParaView or
>>> other apps that wrap their own classes.  I don't export the
>>> vtkWrapHierarchy stuff from VTK yet, so external wrapping is still
>>> dependent on the BTX/ETX markers in the externally-wrapped classes.
>>>
>> I will see about adding an experimental VTK dashboard on my 64 bit Linux
>> system with most VTK options turned on. It would be great to see how well
>> this does, I could also do it for Titan and ParaView when the time is right.
>> Thanks,
>> Marcus
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtk-developers
>>
>>
>
>



More information about the vtk-developers mailing list