Boost logo

Boost-Build :

From: learningnlp (learningnlp_at_[hidden])
Date: 2005-07-05 06:02:47


> How can I set the location for bin directory? I'd like to have
single
> bin/ for for all my subprojects:
>
> bin
> src
> coreapp
> lib1
> tests
>
> Now I have:
>
> src
> coreapp
> bin
> lib1
> bin
> tests
> bin
>
> Can I achieve this? Also I don't want project-specific jamfiles
outside
> of src.

in src/jamfile:

project src
: build-dir ../bin
;

in src/lib1/jamfile, it automatically knows it's a child of
src/jamfile, and so builds relative to its parent, i.e:

bin/coreapp
bin/lib1
bin/tests

nothing needs to be done for this to happen.

I've got a few questions myself but I think I'll make a separate post.

 


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