Ames, Andreas (Andreas) wrote:
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@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] 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?
It's considered
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 ../../../boost/tools/build/v2 ; <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)
Uh, oh. I did not even notice you're using those low-level tricks. I'd suggest using: stage $(target) : <sources> : <location>$(BOOST_LOCAL_STAGE_DIR)/$(libtype)/$(libname)/$(variant) ........... and removing NOTFILE and DEPENDS completely. - Volodya