I tried to work out Volodyas proposal a little more.
It looks very promising what I got so far.
I generalized the concept and introduced an external-lib
target
which derives from searched-lib. The generator is in the
file
external.jam.
Basically a <name> property is added, that allows
indirect rule calls,
i.e. <name> myrule .
This works on linux so far. However I expect a problem on
msvc
compilers: The static (searched) boost libraries are
prefixed with
a "lib" tag which is not part of the compilers
policy, but boost
policy. So I think the boost tag rule will need to be
altered to
capture this. What do you think?
My solution is in the both attached files.
I appreciate any feedback!
Roland
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|