|
Boost-Build : |
Subject: Re: [Boost-build] Programmatically setting multiple requirements
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-05-18 19:02:44
AMDG
Anthony Foglia wrote:
> rule variant-link-rule ( library )
> {
> local result = "" ;
local result = ;
(A variable in bjam is a list of strings, not just a string).
> result += <variant>debug:<library>$(library)/<link>shared ;
> result += <variant>release:<library>$(library)/<link>shared ;
> result += <variant>production:<library>$(library)/<link>static ;
> ECHO "Variant link rule: $(library) -->" ;
> ECHO $(result) ;
> return "" $(result) ;
> }
In Christ,
Steven Watanabe
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