|
Boost-Build : |
Subject: Re: [Boost-build] How to dynamically get the source?
From: Paulo Márcio Figueiredo Alves (pauloalves1986_at_[hidden])
Date: 2014-01-10 11:52:42
Thank you, worked like a charm.
Solution:
local ps = [ property-set.create <svn-output-root>$(output-root) ] ;
local action = [ new action $(sources[1]) : svn.export-source : $(ps) ] ;
On Fri, Jan 10, 2014 at 2:14 PM, Steven Watanabe <watanabesj_at_[hidden]>wrote:
> AMDG
>
> On 01/10/2014 05:52 AM, Paulo Márcio Figueiredo Alves wrote:
> > This generator duplicates the target if `b2 release debug`, because I
> > always create the source in the same location.
> > Is there a way to solve this but still use same location?
> >
>
> In the svn-generator.run rule, drop all the
> properties that are not relevant before constructing
> the action. The only property that you need is
> <svn-output-root>, I think.
>
> In Christ,
> Steven Watanabe
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
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