Boost logo

Boost-Build :

Subject: Re: [Boost-build] intermediate directory control
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-05-12 21:29:55


AMDG

On 05/12/2012 06:07 PM, George Georgiev wrote:
> Is it possible I to supply my own hash function for the --hash option?
> MD5 is OK for the CI, but I wish it is a little bit more human
> friendly when I need to browse intermediate directory.
>

It isn't possible now, but it sounds like a great
idea to me. This issue comes up pretty often here.

How does something like this look:

project : requirements <location-property-path>@compute-property-path ;

rule compute-property-path ( property-set )
{
    local p = [ $(property-set).as-path ] ;
    # change p
    return $(p) ;
}

This would also allow you to include/exclude
any properties you want.

Volodya? If this seems reasonable I'll
start implementing it. It should be
pretty straightforward. (Obviously
the property could use a better name.
location-property-path is just the
first thing that came to mind)

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