Generator with specific types

Felipe Magno de Almeida via Boost-build <[email protected]> Wed, 21 Aug 2019 23:39:21 -0300
Newsgroups gmane.comp.lib.boost.build
Message-ID <CADfx-VT_-Pv11ZqhwN=TQvLtQodQ-PCbgzK1Q6Y50P-zqMrvtg@mail.gmail.com>
Hi,

I have a generator which generates from xml to header C++ files. But,
I'd like to avoid creating a generic XML -> HPP generator, because
that is way too broad and could conflict with other generators.

So, I created a type.register WAYLAND_XML : : XML ; type and a
generator of the type:

generators.register-standard wayland-generator.generate : WAYLAND_XML : HPP ;

However, I don't know how to say, when instancing a typed-target,
explicitly which types are my sources.

Also, how do I get the path to a built executable so I can use it in
the generation action?

Kind regards,
-- 
Felipe Magno de Almeida
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build