[CastXML] using castxml to generate python bindings

Rashad M mohammedrashadkm at gmail.com
Mon Jul 27 09:30:03 EDT 2015


Hello Brad,



On Mon, Jul 27, 2015 at 3:10 PM, Brad King <brad.king at kitware.com> wrote:

> On 07/24/2015 06:13 PM, Rashad M wrote:
> > generating python bindings with castxml. I can run castxml and get an
> > output xml. But from there where will I go to get full python binding?
>
> CastXML doesn't do any wrapper/binding generation itself.  It is a
> building block for such tools that takes care of the parsing and
> C++ interface extraction.  For example, ITK uses the xml output
> with a tool that generates swig .i files:
>
>
Yes. What if castxml could produce some script or swig interface file
instead of xml? What will be the primary challenges in getting such output
from castxml. I know syntax for xml vs any other format is highly complex.
I am just thinking if a script output is happening, I dont want any other
stuff to get wrapping for a library other than running castxml on source
tree!


> https://github.com/InsightSoftwareConsortium/ITK/tree/2b3f6494/Wrapping/Generators/SwigInterface
>



>
> -Brad
>
>


-- 
Regards,
   Rashad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/castxml/attachments/20150727/dca9d9d0/attachment.html>


More information about the CastXML mailing list