From: Phillip Seaver (phil_at_[hidden])
Date: 2006-06-28 08:29:31
Johan Nilsson wrote:
> I'm using boost libraries from my own Jamfiles similar to the following:
> path-constant build-root : ./build ;
> project my-proj
> : build-dir
> use-project boost : $(BOOST_ROOT) ;
> alias threads
> : /boost/thread//boost_thread
> : <link>static
> However, I'd like the thread library to be built under $(build-root) instead
> of $(BOOST_ROOT)/bin.v2. Is this possible without using command-line
> I was looking for some property that I could pass on using the alias rule,
> but couldn't find anything.
> // Johan
I use boost from within my source tree and I ended up commenting out the
"build-dir" in the boost Jamfile.v2, mainly because I wanted to build
everything outside of the source tree. I changed the "stage-locate"
line to use my staging location instead of ./stage.
As a side note, I also renamed project-root.jam -- IIRC, it was
interfering with using boost below my Jamroot.jam.
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