Boost logo

Boost-Build :

From: Deane Yang (deane_yang_at_[hidden])
Date: 2005-11-22 14:25:29

Reece Dunn wrote:
> Deane Yang wrote:
>> I want to install a library but name it according to the variant. So if
>> I'm running "bjam release", I want the installed DLL to be named
>> "mylib_release.dll" but if I'm running "bjam debug", I want the
>> installed DLL to be named "mylib_debug.dll".
>> How do I do this?
> You can use <tag> to change the name based on different properties. I'm
> not sure about where it is in the manual, but if you look in the root
> Jamfile and in the BBv2 source code, you will find an example of how to
> do this.
> HTH,
> - Reece

Thanks. I wouldn't say that <tag> is well-documented. In fact, I still
don't have a clue to how it works. But by copying and modifying the
appropriate code in boost/tools/build/v2/test/, I was able to do
what I want.

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at