Boost logo

Boost-Build :

From: Daniel Krügler (dsp_at_[hidden])
Date: 2006-11-03 02:56:01


Dear members of this group,

I just came in from "gmane.comp.lib.boost.user, where helpful readers
motivated me to ask my issue in this group:

In advance, please forgive my hasty jump into this group, but I'm a
*very* dummy bjam user and I need to fix the following issue as quickly
as possible:

Could please someone point me out, how I have to manipulate the boost
bjam config file(s), such that it is possible to attach a user-defined
string constant at every output file of the build? I would like to use
the normal naming pattern described on

http://boost.org/more/getting_started.html#Results

but *extended* with a user-defined string, e.g. "your_build_id" or
"20061102", e.g.:

libboost_date_time-gcc-mt-d-1_31-your_build_id.a

How do I have to modify which bjam files to reach that effect?

For a quick workaround, it would even be sufficient to use a hardcoded
string constant inside the bjam configuration file(s)!

I would appreciate any helpful hint, example, whatever!

Additionally I would like to point out, that such capability would be
very helpful for everyone, I guess. The typical usecase for the need of
unique build id's attached at the output of libraries is the situation
when you would like to use an unofficilly patched boost version. Using
build ids would prevent the well-feared problem of different libraries
on the same machine with same names....

Thank-you very much and Greetings from Bremen,

Daniel Krügler


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