Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-03-13 05:04:05


On Monday 13 March 2006 11:39, David Abrahams wrote:
> Vladimir Prus <ghost_at_[hidden]> writes:
> > 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.
>
> Globbing for /headers/ !?! Why?

Because there's

  install ..... : [ glob boost/*/*.hpp ]

and 'glob' is executed at the parsing time. I'm planning to fix this.

> > How about
> >
> > run mytest.cpp /boost//headers ;
> >
> > which is supposed to work right now.
>
> Okay, I could try that.

Let me know if this works.

> >> 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.
>
> Probably mine. But the fact that I'm so confused about this to begin
> with makes me nervous about trying to write the code.

If you have specific questions I'd be happy to clear things up. I can even put
this to docs, if this will help you.

- 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