Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2007-04-05 19:55:31


on Thu Apr 05 2007, Jeffrey Holle <jeffreyholle-AT-bellsouth.net> wrote:

> I'm using Boost.Build V2 (Milestone 11) Boost.Jam 03.1.14
>
> As per http://www.boost.org/doc/html/bbv2/recipies/site-config.html,
> I've added to my site-config.jam file.
>
> import project ;
> project.initialize $(__name__) ;
> project site-config ;
> lib zlib : : <name>z ;
>
> Why are the first three lines necessary?

I think this incantation (cryptic as it is) is making the site-config
Jam module into a project in its own right, where targets can be
declared.

> What does $(__name__) refer to?

The name of the current module (probably something like
"<unspecified-who-knows>site-config" in this case)

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
Don't Miss BoostCon 2007! ==> http://www.boostcon.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