Boost logo

Boost-Build :

From: Peter Foley (peter_at_[hidden])
Date: 2007-10-05 10:45:57


Hi Volodya,

Thanks for the reply.

> ------------------------------
>
> Message: 8
> Date: Thu, 04 Oct 2007 16:57:35 +0400
> From: Vladimir Prus <ghost_at_[hidden]>
> Subject: Re: [Boost-build] How to specify the build bin directory
>
> Peter Foley wrote:
>

*SNIP*

>
> You can either use 'build-dir' project attribute -- on permanent
basic,
> or
>
> >
> > Reading previous messages to the Boost.Build list I believe that
> "bjam
> > --build-dir=location" should do the trick. Other messages suggest
> that
> > this is currently broken.
>
> ... you can use --build-dir=location on the command line, which use to
> be
> broken in some corner case but is believed to work now.

On the off chance that it was the version that I had I have downloaded
tonight's nightly build.

If I do a version I get this:
-----------------------------------------------------------
E:\dev\src\hello>bjam -v
Boost.Jam Version 3.1.16. OS=NT.
   Copyright 1993-2002 Christopher Seiwald and Perforce Software, Inc.
   Copyright 2001 David Turner.
   Copyright 2001-2004 David Abrahams.
   Copyright 2002-2005 Rene Rivera.
   Copyright 2003-2005 Vladimir Prus.
-----------------------------------------------------------

I have copied the hello example out of the Boost-Build examples folder
(the folder contains "hello.cpp" and "jamroot").

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
...found 10 targets...
...updating 6 targets...
MkDir1 bin
MkDir1 bin\msvc-8.0
MkDir1 bin\msvc-8.0\debug
MkDir1 bin\msvc-8.0\debug\threading-multi
compile-c-c++ bin\msvc-8.0\debug\threading-multi\hello.obj
hello.cpp
msvc.link bin\msvc-8.0\debug\threading-multi\hello.exe
...updated 6 targets...

E:\dev\src\hello>
-----------------------------------------------------------

Did I do something wrong?

Thanks,

Peter.


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