Boost logo

Boost-Build :

Subject: Re: [Boost-build] Dealing with action/rule sources
From: Vladimir Prus (vladimir.prus_at_[hidden])
Date: 2015-09-29 11:31:49


On 29-Sep-15 6:22 PM, Roman Matsybora wrote:
>> Could you describe what you want to do with them?
> To get paths from sources.

You better work one level up. Say, if we continue using

    https://github.com/boostorg/build/blob/develop/example/generator/soap.jam

as example, there you can do:

        local source = $(sources[1]) ;
        local source-path = [ $(source).path ] ;

- 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