|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-03-10 02:49:47
On Friday 10 March 2006 01:57, David Abrahams wrote:
> So I am trying to build some simple tests using Boost components. My
> Jamroot is:
>
> use-project /boost : c:/boost ;
> run mytest.cpp ;
>
> But boost headers aren't in the #include path, so its usage
> requirements aren't picked up.
>
> Okay, I think, I can add <source>/boost// to my project requirements.
> But that makes bjam take forever to do nothing and I kill it.
Supposedly, this tries to build all of boost, including globbing for all
headers, and what not.
How about
run mytest.cpp /boost//headers ;
which is supposed to work right now.
> So I add
>
> alias boost : : <include>c:/boost ;
This means that 'boost' alias will be built with <include>c:/boost in build
properties. To propagate this include, it's has to be in usage requirements,
like this:
alias headers : : : : <include>c:/boost ;
> This needs to be simpler!
We discussed this in
http://thread.gmane.org/gmane.comp.lib.boost.build/11375
and I'm not quite sure if the ball is on your side or on mine.
- Volodya
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