Boost logo

Boost-Build :

Subject: Re: [Boost-build] staging subprojects
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-10-03 22:35:42


AMDG

Johan Nilsson wrote:
> Jim Gallagher wrote:
>> Johan,
>>
>> Sorry, took some short cuts to assemble a quick reply, and made a
>> mess.
>>
>> OK, a stripped down project:
>
> I can see the same problem, and stripped down the project even further
> to:
>
> =============================
> Jamroot:
>
> import os ;
> import feature ;
> import type ;
>
> path-constant TOP : . ;
>
> project TEST ;
>
> # find all the jam subprojects
> JamProjects =
> [ MATCH (.*)/Jamfile : [ glob-tree Jamfile ] ]
> ;
>
> for local proj in $(JamProjects)
> {
> build-project $(proj) ;
> }
>
>
> alias sub-stages : $(JamProjects)//stage ;
>
> install stage
> :
> sub-stages
> ;

You shouldn't use install here. This use of install
finds c twice. Just use

alias stage : $(JamProjects)//stage ;

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