|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-10-12 05:59:23
Peter Foley wrote:
> When I run the command "bjam --build=here debug" this is the output I
> get:
> -----------------------------------------------------------
> E:\dev\src\hello>bjam --build-dir=here debug
> warning: the --build-dir option was specified
> warning: but Jamroot at '.'
> warning: specified no project id
> warning: the --build-dir option will be ignored
This is expected. Here's what docs have to say:
--build-dir
Changes build directories for all project roots being built. When this
option is specified, all Jamroot files should declare project name.
The build directory for the project root will be computed by
concatanating the value of the --build-dir option, the project
name specified in Jamroot, and the build dir specified
in Jamroot (or bin, if none is specified).
There's a reason why --build-dir is not 100% the same as specifying build-dir in
a Jamroot -- when you build, you can have several Jamroots. So, each jamroot is
require to provide a project id.
Hope this helps.
- 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