Boost logo

Boost-Build :

From: chyipin (chyipin_at_[hidden])
Date: 2003-09-11 18:45:14


--- In jamboost_at_[hidden], Vladimir Prus <ghost_at_c...> wrote:
> Hi chyipin,
>
> > I'm using the most recent Boost.Build and everything works fine
now.
> > Thanks.
>
> Great!
>
> > For the most current V2 version, where should I point the
> > BOOST_BUILD_PATH?
> > Both
> > BOOST_BUILD_PATH=/ennfs/csc/cscgrd/cplim/boost-
1.30.2/tools/build/new
> > and
> > BOOST_BUILD_PATH=/ennfs/csc/cscgrd/cplim/boost-
> > 1.30.2/tools/build/kernel works. But I would like to know the
> > correct path.
>
> For now, the path with "kernel" is more correct. With the next
milestone
> release (which will appear really soon) things will be simplified a
little
> bit --- it would be enough to specify path to Boost.Build root, not
some
> directory inside it.
>
> - Volodya

As stated previously, I successfully used Boost.Build V2 M6 to build
a project that uses my own library successfully. However, now, I'm
trying to use the Boost library too (i.e., date_time, fs). But, it
seems that the Boost Build uses the Jamfile in the specified library
and those Jamfile are for Boost.Build V1. I thought invoking bjam --
v2 might do trick, but it didn't select Jamfile.v2. I tried the most
recent Boost.Build (M7) too but to no avail.

Is there any variable(s) that I can set to use Boost libraries
Jamfile.v2?

I exported BOOST_ROOT to my env, but it seems that bjam no longer
have BOOST_ROOT defined when it is running. Why is this so?

[cplim_at_enlnxs t]$ cat Jamfile
ECHO $(BOOST_ROOT) ;
[cplim_at_enlnxs t]$ bjam

...found 1 target...
[cplim_at_enlnxs t]$ env | grep BOO
BOOST_BUILD_PATH=/ennfs/csc/cscgrd/cplim/boost/tools/boost-build
BOOST_ROOT=/ennfs/csc/cscgrd/cplim/boost

--
chyipin
 

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