Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-11-26 02:41:32


On Friday 26 November 2004 05:13, 1111 wrote:
> Hi, I am a new user of boost.build
> If I am correct here, I think there are quite a few useful rules or
> commands
> that are not available in boost.builds documentation
>
> for example, I can't find glob-tree anywhere in the documentation.

I'm not sure there is such rule.. ah wait, it's present in Boost.Build V1, and
I think it's not documented anywhere. For V2, similar functionality should be
part of the glob rule

http://boost.org/boost-build2/doc/html/bbv2/advanced/jamfiles.html#bbv2.advanced.other-rules

something like

local all = [ glob */*.cpp */*/*.cpp ]

but a patch which enables wildcards in directory names is still lying on my
disk, uncommitted.

> Can anyone tell me how I should start studying those rules? Does bjam
> has a
> documentation system, such that we could get a reference manual for
> all the
> defined rules etc?

For Boost.Build V2, you can use the --help option, as mentioned at:

http://boost.org/boost-build2/doc/html/bbv2/reference.html#bbv2.reference.init.options

Running "bjam --help" would produce help on "--help";-)

- 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