List Info

Thread: site-config.jam




site-config.jam
country flaguser name
United States
2007-04-05 16:24:19
I'm using Boost.Build V2 (Milestone 11) Boost.Jam 03.1.14

As per http://www.boost.org/doc/html/bbv2/recipies/site-con
fig.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?
What does $(__name__) refer to?

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: site-config.jam
country flaguser name
United States
2007-04-05 18: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-con
fig.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

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: site-config.jam
country flaguser name
Russian Federation
2007-04-06 00:55:32
On Friday 06 April 2007 01:24, Jeffrey Holle 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-con
fig.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?

Because in M11, site-config is not made a project
automatically.
In the nightly build version (http://boost.org/boost-
build2), both
site-config and user-config are projects already, so the
first
three lines are not neccessary.

> What does $(__name__) refer to?

It's the name of the current module, as Dave already said.

- Volodya

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: site-config.jam
country flaguser name
Russian Federation
2007-04-14 04:04:14
On Friday 06 April 2007 09:55, Vladimir Prus wrote:
> On Friday 06 April 2007 01:24, Jeffrey Holle 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-con
fig.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?
> 
> Because in M11, site-config is not made a project
automatically.
> In the nightly build version (http://boost.org/boost-
build2), both
> site-config and user-config are projects already, so
the first
> three lines are not neccessary.

Correction: first two lines. You still need

	project site-config ;

line. I have a doc change for this waiting to be committed.

- Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )