|
Boost-Build : |
Subject: Re: [Boost-build] install-target-class question
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-12-17 10:49:33
On Wednesday 17 December 2008 17:34:14 Johan Nilsson wrote:
> Hi,
>
> I'm browsing through the Boost.Build sources in an attempt to understand
> what's actually going on when using the install rule. The following is from
> trunk (stage.jam):
>
> class install-target-class : basic-target
> {
> ...
> # Takes a target that is installed and a property set which is used when
> # installing.
> #
> rule adjust-properties ( target : build-property-set )
> {
> local ps-raw ;
> local a = [ $(target).action ] ;
> if $(a)
> {
> local ps = [ $(a).properties ] ;
> ps-raw = [ $(ps).raw ] ;
>
> # Unless <hardcode-dll-paths>true is in properties, which can
> happen
> # only if the user has explicitly requested it, nuke all
> <dll-path>
> # properties.
> if [ $(property-set).get <hardcode-dll-paths> ] != true
> {
> ps-raw = [ property.change $(ps-raw) : <dll-path> ] ;
> }
> ...
> }
>
> My question is: where does the "property-set" above originate from?
From the caller :-)
> Should
> it be "build-property-set" instead?
Yes, I've just fixed it. Thanks for noticing!
- Volodya
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