From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-01-07 12:40:25
On Tuesday 11 December 2007 23:58:57 Felipe Magno de Almeida wrote:
> I'm having trouble with use-project rule inside site-config.jam
> This line:
> use-project boost : C:/development/new_boost/svn_boost ;
> Works on user-config.jam, but not on site-config.jam in build/v2
> directory. I would like to use the same boost as the boost.build
> running, so I need the site-config.jam.
The problem here is that when use-project loads Jamfile at the specified
location, that Jamfiles tries to inherit properties from user-config.jam,
which is not loaded at this point.
The right solution would be to make use-project lazy -- so that it
does not immediately load referenced Jamfile. However, it's a bit of
work and might not happen in near future.
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