|
Boost-Build : |
From: Denis N. Kononenko (denisn.kononenko_at_[hidden])
Date: 2006-11-18 15:25:50
2006/11/18, Vladimir Prus <ghost_at_[hidden]>:
> On Wednesday 15 November 2006 14:18, Denis N. Kononenko wrote:
>
[ skip ]
> >
> > What's wrong with my code?
>
> I don't know, given that you haven't provided it all. The key word here
> is "all" -- I don't see any generator declarations for example, and the
> $(WSDLS) variable is not defined. Please always provide complete example that
> I can unpack and try right away.
>
Sorry, I'm new to BB.
> >
> > P.S. I tried to use 'dependency' instead of 'path' but it failed too.
>
> Did you check:
>
> http://boost.org/boost-build2/doc/html/bbv2/extending/features.html
>
> among other things that page says for that dependency features you need to
> have explicit DEPENDS somewhere. If that still does not help, post a complete
> example and I'll look.
Yes, it helped me. I wrote my special rule:
rule compile.wsdl ( targets + : sources * : properties * )
{
DEPENDS $(<) : [ on $(<) return $(GSOAP_TYPEMAP_FILE) ] ;
}
Now it works fine. :)
Thank you.
Would you enlighten me on another question? Is it possible to write a
custom generator with variable number of output files depending on
features? Currently I use a long list of all possible generated types
and touch files that may not be generated.
WBR,
Denis.
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