[vtk-developers] Wrapping/Tools

David E DeMarle dave.demarle at kitware.com
Thu Aug 16 15:20:00 EDT 2012


On Thu, Aug 16, 2012 at 2:26 PM, David Gobbi <david.gobbi at gmail.com> wrote:
> Then I'll just push what I have.  I've removed VTK_GENERATE_WRAPTOOLS,
> but right now there isn't any way to turn on hierarchy wrapping
> without turning on one of the wrapper languages.  I suspect the
> client/server wrapping does not use the hierarchy files yet, so I
> don't think it matters at this point.

Correct, my first attempt at bringing in and using the hierarchy
failed miserably, so PVCS only depends on the wraptools library.

I would like to try again though and use the hierarchy in PVCS as part
of the effort to get rid of the remaining need for btx/etx flags
littering VTK. Is it possible to move that into the wraptools module
as well?

>
>  - David
>
>
> On Thu, Aug 16, 2012 at 12:08 PM, Marcus D. Hanwell
> <marcus.hanwell at kitware.com> wrote:
>> Ideally a module would not affect how any other module is built. If
>> you need to do it then we provide ${vtk-module}_ENABLED, so
>> vtkWrappingTools_ENABLED should be checked, if it is true the module
>> has been enabled.
>>
>> Marcus
>>
>> On Thu, Aug 16, 2012 at 1:52 PM, David Gobbi <david.gobbi at gmail.com> wrote:
>>> Just one more quick question before I push the next (hopefully final) changeset.
>>>
>>> How can I force vtkWrapping.cmake to build the hierarchy files
>>> whenever the vtkWrappingTools module is on?  What is the best way in
>>> cmake to check if a module has been turned on?  Or is it even a wise
>>> thing to do?
>>>
>>>  - David
>>>
>>>
>>> On Thu, Aug 16, 2012 at 10:49 AM, Utkarsh Ayachit
>>> <utkarsh.ayachit at kitware.com> wrote:
>>>> Hmm, in that case I'd vote for building those always. These are just
>>>> build tools like vtkProcessShader, etc, which are always built whether
>>>> they are used or not. Makes it possible for projects dependent on VTK
>>>> to wrap their own classes in Python etc even if VTK was not Python
>>>> wrapped, for example.
>>>>
>>>> Utkarsh
>>> _______________________________________________
>>> 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
>>>
> _______________________________________________
> 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