Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2006-02-07 05:45:23


> The BlueCat envorinment is its own little world, meant to make it
> exceptionally easy to build things for the target. Because of this,
> they violate a few expectations for a cross-compile environment. One
> of these is that their compiler looks for headers in the wrong place
> for boost.
>
> What I am trying to figure out is how to tell the boost build process
> to append a path onto the list of include search paths.
>
> setting HDRS, either in the environment or on the bjam invocation line
> doesn't seem to help. I guess it's not propagating down?
>
> Thanks in advance for your advice.

Use the BUILD environment variable, either:

bjam -sBUILD="<include>mypath"

or if the options you need are more obsure than usual then:

bjam -sBUILD="<cxxflags>--some-option"

Will inject --some-option directly onto the compiler command line.

John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net