Boost logo

Boost-Build :

Subject: [Boost-build] install-target-class question
From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2008-12-17 09:34:14


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? Should
it be "build-property-set" instead?

/ Johan


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