Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-07-08 08:52:33


Hello Pedro,

> I am new to Jam and Boost.Build so I apologize if this is not the proper
> forum to ask these questions.

That's precisely the right place!

> I've been looking at the examples and documentation but I haven't found any
> that solves my problem
> (I'm not complaining, just pointing out a fact :-)).
>
> I am using boost-build 2.0-m5 and I wanted to use a stage rule with <tag>.
> It seems that this is not implemented in v2, is that correct?

Yes, that's correct.

> So, I have tried something like :
>
> lib Platform .... ;
>
> stage bin
>
> Platform
>
> <variant>release:<location>../../../../bin_release
> <variant>debug:<location>../../../../bin_debug
> <variant>release:<name>Platform_r
> <variant>debug:<name>Platform_d
> ;
>
> and what I get is:
>
> C:/win32app/boost-build/new\stage.jam:51: in construct from module
> object(stage-target-class)@1 error: <name> property cannot be specified
> when staging several targets

Yep, that's expected behaviour.

> Is it possible to do this with the current version?

Not yet.

> If not, and if you think it is worth it, I am avalable to try and implement
> it.

Thanks a lot for your attitude! If you're willing to implement <tag> you're
most welcome. Of course, I'll be glad to help.

I've actually almost forgotten the details about <tag> feature and I recall in
V1 it works not only in stage targets, but also in regular targets (like
exe).

So I guess it's better to start by asking Rene how it works in V1 and making a
short description of proposed V2 semantic, so that everybody could be sure
what's going to be implemented. What do you think?

Rene, I'm specifically interested why we need tag in regular targets *and* in
stage targets.

Thanks again,
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