On 8/21/19 8:39 PM, Felipe Magno de Almeida via Boost-build wrote:
> 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.
Use the cast rule (only works for sources, not generated files).
> Also, how do I get the path to a built executable so I can use it in
> the generation action?
Pass it along as a dependency property. See quickbook for