Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-08-03 16:42:40


On 8/3/06, Klaus Nowikow <e8827661_at_[hidden]> wrote:
>
> Some time ago, I started a thread about an XPIDL tool, see
> http://article.gmane.org/gmane.comp.lib.boost.build/13076

Hi Klaus,
it would be great if you add this patch to our tracker (see link at
boost.org/boost-build2), so that it does not get lost and I look at it in
detail when I'm back from vacation

(For those who do not know XPIDL: its the compiler for the
> Interface Description Language created and used by the Mozilla
> project -- Cross-Platform IDL)
>
> I now just took Alexey Pakhunov's midl.jam and changed it to
> handle xpidl files -- see the attached file xpidl.jam. Feel free
> to use or change it or add it to the BBv2 distribution if
> you think it's good enough.
>
> There is only one problem: when used with the MSVC toolset it
> clashes with midl.jam, because msvc.jam imports midl.jam.
> Both midl and xpidl register a new type IDL, and both add a
> generator to create other files from an *.idl file. I can't
> think of any solution to that besides not importing midl.jam
> from msvc.jam. Any ideas?

Add a new file in tools/types directory, and remove declaration of IDL type
from your module and midl.jam.

- Volodya



Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk