Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-11-21 01:42:18

Hi Kirill,

> I am trying to setup staging in such way that it will gather all exes
> from all subproject in <project-root>/bin. I can wasily do this with
> path-constant and stage. Now to make task a little more difficult I
> want to stage exe into different top level bin folders depending on
> toolset and variant. Something like bin/gcc, bin/dbggcc, bin/msvc,
> bin/dbgmsvc. I can handle variants only, or toolsets only with
> conditional properties (i.e. stage exe : my_exe :
> <variant>release:<location>$(bin) <variant>debug:<location>$(dbgbin)
> ;), but I can't put two conditions together, can't I?

You surely can. The section called "Conditional properties" describe the
syntax as:

property ( "," property ) * ":" property

You can also look at

I've just verified that it works ok.

> I am probaly missing something obvious... How can I achieve this behavior?
> Thanks a lot in advance.
> BTW, when staging unit-tests I end up with bunch of meaningless
> .passed files. I will certainly traverse dependencies and install all
> exe's and so's, but it would be nice to somehow suppress staging
> .passed files.

You've two chices:
1. Leave with it ;-)
2. Specify exactly what target types you want to be staged, using
<include-type> feature. My example uses it. And, also,

bjam --help stage

mentions this feature.



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at