Hello,
What I'm trying to accomplish is to link against pre-built boost library that lives in $BOOST_ROOT/stage/lib,
but the default naming convention comes with a boost version at the end:
    boost_unit_test_framework-vc80-mt-gd-1_47.lib
I don't want to hardcode the exact name because some clients use older version of boost.

unfortunatelly I cannot do something like this (or maybe I'm wrong):
    exe myExe : some.cpp /boost//unit_test_framework
because that would build test library and I want to prevent that.

I want to keep variants and compiler version in the name so --layout=system and --layout=tagged does not help me either.

One solution would be to get rid of the boost version suffix(prefferable) and second would be to read BOOST_VERSION from boost/Jamroot and append that to the name of a library file, because I don't want clients to hardcode their boost version in jamfiles manually. How do I do that?

Regards