|
Boost-Build : |
From: Brock Peabody (bpyama_at_[hidden])
Date: 2003-10-07 11:55:49
> -----Original Message-----
> From: Vladimir Prus [mailto:ghost_at_[hidden]]
> Sent: Tuesday, October 07, 2003 9:40 AM
> To: Brock Peabody
> Cc: jamboost_at_[hidden]
> Subject: Re: project id's
>
[...]
> import modules ;
> path-constant BOOST_ROOT : [ modules.peek : BOOST_ROOT ] ;
>
> and after that all Jamfiles will be able to access BOOST_ROOT variable. As
> for
> 'use-project' in Jamfile --- I think that's perfectly okay. In fact, I
> think
> that difference between project-root.jam and Jamfile should be eliminated
> and
> the set rules allowed in project-root.jam should be the same as in
> Jamfile.
>
> For example, right now the 'path-constant' rule can be used only in
> project-root.jam, and there's no good reason for this limitation.
If I put the above in my project-root.jam, and the following in my Jamfile:
use-project /boost/thread : $(BOOST_ROOT)\\libs\\thread\\build ;
I get
Could not find a Jamfile in directory /C:/tt/c:/boost/libs/thread/build'.
Where "c:\tt" is the directory my project is in, and BOOST_ROOT =
"c:\boost".
Any ideas?
Thanks,
Brock
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