Boost logo

Boost-Build :

From: Phillip Seaver (phil_at_[hidden])
Date: 2006-04-24 09:13:37


Kostas Kostiadis wrote:
> That's exactly what I was after...Thx Phillip!
> I will try this later today...
>
> While I was looking around for a global place to define certain settings,
> I came across site-config.jam.
>
> It's currently blank...Any ideas what site-config.jam is used for?
> Is that a good place to put things like:
>
> project root : requirements <variant>debug:<define>SOME_GLOBAL_DEFINE ;
>
> or is it better if I do this in project-root.jam?

site-config.jam is for site-wide settings. You can use "using" to
configure the compiler to use, e.g.

It can have a project in it, but I'm pretty sure it wouldn't affect the
other projects like putting it in project-root.jam. Here's an example
of putting a project in site-config.jam:
http://www.boost.org/doc/html/bbv2/recipies/site-config.html

So, I think project-root.jam is best (only?) place for it.

Phillip


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