Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-02-15 03:53:09


On Thursday 14 February 2008 15:42:08 Yitzhak Sapir wrote:
> Hello all,
>
> I am interested in running bjam from a different build system program, in this case scons.
> We have scripts that set up all the defines and includes used in our system.
> When scons runs its own compiles it does fine.
> Now, I want to compile boost libraries to fit in with those same definitions.
> With boost build version 1, I used
> bjam -sBUILD="debug <rtti>on .. etc."
>
> I understand in bjam v2 I use:
> bjam -sBUILD=debug rtti=on etc.

No, there's no -sBUILD element, please see the docs at boost.org/boost-build2

> However, I still have a question regarding such options as include paths.
> For example,
> v1 bjam -sBUILD="debug <include>some-dir <include>some-other-dir"
> would translate into what in bjam v2?
>
> In fact, I haven't even gotten a single include path on the command line to work.
> So bjam -sBUILD=debug include=some-dir doesn't seem to work.
> It gives:
> "No value specified for feature 'include'."
>
> Any suggestions?
> I am trying to look at the docs but the answer does not seem forthcoming.

1. Please use SVN version.
2. Please specify exactly what command line you are using.

- 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