|
Boost-Build : |
From: DrAnonymous (antamiga_at_[hidden])
Date: 2007-04-30 14:55:55
Phillip -
Thanks for the feedback. If I remove the <include> from the Jamfile, the
compile won't work, no matter where I am.
Would I use the bhome entry you mentioned in the jamroot or the Jamfile?
Thanks,
Aaron R>
On 4/30/07, Phillip Seaver <phil_at_[hidden]> wrote:
>
> DrAnonymous wrote, on 4/30/2007 11:52 AM:
> > jamfile
> > exe atrans : atrans.cpp : <include>$bhome ;
> >
> > When I am in subdir and do a bjam, I get an executable under the bin
> > directory. If I try to do a bjam under the top directory, the include
> > files aren't found. Why aren't the includes working from the Jamroot?
> >
> > The bhome env variable is defined as an absolute path.
> >
>
> I'm almost positive environment variables don't get added as jam
> variables. You would need to do something like:
>
> import modules ;
> bhome = [ modules.peek : bhome ] ;
>
>
> My guess would be that it's running the compile from whatever directory
> you're in and picking up the includes from the working directory.
>
> Phillip
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
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