Vladimir,

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 STYLESHEET fix.)

Thanks for your help,

Eric

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?
    


No.
Can you provide a minimal project that reproduces this problem,
as a .tar.gz or a .zip archive?

Thanks,
Volodya

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build