List Info

Thread: Build-dir for used projects




Build-dir for used projects
user name
2006-06-28 12:29:31
Johan Nilsson wrote:
> Hi,
>
> I'm using boost libraries from my own Jamfiles similar
to the following:
>
> path-constant build-root : ./build ;
>
> project my-proj
>     : build-dir
>     $(build-root)
>     ;
>
> 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 
> arguments?
>
> 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.

Phillip

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )