Some time ago, I started a thread about an XPIDL tool, see
http://article.gmane.org/gmane.comp.lib.boost.build/13076
(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?