|
Boost Users : |
From: Ames, Andreas (Andreas) (ames_at_[hidden])
Date: 2007-07-30 10:46:24
Hi,
thanks Volodya, that actually gets me a step further.
Unfortunately I'm still not there yet ;-), see below.
> -----Original Message-----
> From: boost-users-bounces_at_[hidden]
> [mailto:boost-users-bounces_at_[hidden]] On Behalf Of
> Vladimir Prus
> Sent: Monday, July 30, 2007 12:57 PM
> Subject: Re: [Boost-users] [Boost.Build v2] Please help
> updating my buildprocess from v1 (1.33.1) to v2 (1.34.1)
>
> Ames, Andreas (Andreas) wrote:
>
> > BOOST_LOCAL_STAGE_DIR ?= stage ;
>
> Is this an environment var? Please read:
No, not an environment variable, it is set on the command line
using '-s' option. Is this still supported in v2?
> No. In V1, top-level dir had to have Jamfile+Jamrules. In V2,
> top-level dir
> should have Jamroot.
Ok, so I've replaced Jamfile+Jamrules with the following files:
<boost-build.jam>
boost-build ../../../boost/tools/build/v2 ;
</boost-build.jam>
<Jamroot>
using msvc : 8.0 ;
BOOST_LOCAL_STAGE_DIR ?= stage ;
rule Pseudo ( target : libname : libtype : variant )
{
VARIANT = $(variant) ;
NOTFILE $(target) ;
DEPENDS $(target) : $(BOOST_LOCAL_STAGE_DIR)/$(libtype)/$(libname)/$(variant) ;
stage $(BOOST_LOCAL_STAGE_DIR)/$(libtype)/$(libname)/$(variant)
:
../../../boost//$(libname)/<link>$(libtype)
:
<include>../../../boost
<debug-symbols>on
<debug-store>database
<variant>$(variant)
<runtime-link>shared
;
}
# ---------------- signals ------------------
Pseudo signals_lib_debug
: signals
: static
: debug
;
# ---------------- serialization ------------------
Pseudo serialization_lib_debug
: serialization
: static
: debug
;
</Jamroot>
Calling
bjam.exe -d4 signals_lib_debug
results in
<output>
notice: could not find main target signals_lib_debug
notice: assuming it's a name of file to create
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(don't panic: this is a strictly optional feature).
make -- <e>signals_lib_debug
make -- <e>signals_lib_debug
bind -- <e>signals_lib_debug: signals_lib_debug
time -- <e>signals_lib_debug: missing
don't know how to make <e>signals_lib_debug
made+ nofind <e>signals_lib_debug
...found 1 target...
...can't find 1 target...
</output>
Although I'm fooling around with my Jamroot and try to grasp sth.
from the docs, I don't seem to get any further. The only thing
I want to achieve is building selected boost libs out-of-tree to
a commandline specified target directory. Can you help me
getting closer to this seemingly simple goal?
TIA,
aa
-- Andreas Ames | Programmer | Comergo GmbH | ames AT avaya DOT com Sitz der Gesellschaft: Stuttgart Registergericht: Amtsgericht Stuttgart - HRB 22107 Geschäftsführer: Andreas von Meyer zu Knonow, Udo Bühler, Thomas Kreikemeier
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net