Boost logo

Boost-Build :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-12-07 12:14:31


Hi,

This is probably a pretty basic question.

I'm setting up a project in which I'd like to import certain pathnames from the
environment. I've got just two jam files in the root directory,
"boost-build.jam" and "Jamroot", with the following contents.

  boost-build.jam:

    # This works; the environment variable DN_BOOST contains
    # the root of my boost_1_33_1 installation
    boost-build $(DN_BOOST)/tools/build/v2 ;

  Jamroot:

    echo ****** ;
    echo $(DN_BOOST) ;
    echo ****** ;

When I run bjam --v2, I get:

   ******

   ******
   ...found 1 target...

Why does $(DN_BOOST) expand to an empty string in Jamroot but not in
boost-build.jam?

-- 
Jonathan Turkanis
www.kangaroologic.com

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