From: Eric Woodruff (eric.woodruff_at_[hidden])
Date: 2008-03-22 17:47:06
I've tried to reproduce the problem in the attached example but wasn't
able to. But I did find a way to make it work in my real project. The
analogous "constants" library was a header-only library, defined by an
alias as documented in the manual. However, if I change it to "lib"
instead of "alias" then everything works as expected.
(Of course, the attached project doesn't build without the bind
Thanks for your help,
Vladimir Prus wrote:
>> Thanks, that fixed my initial problem. Now I'm finding that when
>> another library depends on (via <use>) the header-only library
>> created via an alias for this generated header, the make step
>> sometimes reverses the source and the stylesheet. I put some echos in
>> xsltproc.jam to witness this happening. If I invoke the rule as:
>> xslt header.h : source.psmc schema/header.xsl ;
>> ...it echos the source and stylesheet correctly, without swapping the
>> two as arbitrary sources. But that apparently isn't a rule that
>> defined a target or builds anything.
>> If I leave it defined as:
>> make header.h : source.psmc schema/header.xsl : @xsltproc.xslt ;
>> ...it builds correctly from the local directory and the parent
>> directory, but from a sibling of the parent directory it then swaps
>> the source and the stylesheet.
>> Any idea what might cause that?
> Can you provide a minimal project that reproduces this problem,
> as a .tar.gz or a .zip archive?
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
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