From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2006-07-03 18:24:16
"Roland Schwarz" <roland.schwarz_at_[hidden]> skrev i meddelandet
> Johan Nilsson wrote:
>> Have you tried using conditional requirements (at the bottom of
>> You'll have your own method called with the current properties, which
>> then be used to form the decorated target names. Just an idea.
> I am afraid I don't understand how your suggestion relates to my question.
> Could you please be a little more explicit?
Sorry, I was just throwing out the idea (don't even know if a indirect
conditional requirement solution is viable, I only wanted to point you in
that direction). This attempt might not be much better as it's right past
midnight here now and I don't have Boost.Build available from this machine:
: # requirements
constant boost-libs : regex thread ;
constant boost-version : 1.35 ;
rule decorated-boost-libs ( properties * )
local decorated-libs ;
local toolset = [ regex.find <toolset>(\S+) : properties ] ; # Surely
invalid statement, but you'll get the idea
for local l in $(boost-libs)
# ... decorate lib name and add to decorated-libs as
return $(decorated-libs) ;
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