Subject: Re: [Boost-build] Configuring the include path for a toolset
From: Shlomy Reinstein (sreinst1_at_[hidden])
Date: 2011-08-05 05:09:41
I tried to use <include> in the jam file, as part of the toolset definition,
but it didn't work - maybe I didn't do it correctly.
Here's how I tried to do it:
using android : x86 :
But the <include> directive was ignored - the include directory did not
appear in the compilation. Should it be placed outside the toolset
definition (maybe above it)?
It works fine when I provide it on the bjam command line using "include=",
but since this include path must be specified whenever I use this toolset,
I'd like it to be specified as part of the toolset.
On Fri, Aug 5, 2011 at 10:24 AM, Holger Joukl <Holger.Joukl_at_[hidden]> wrote:
> > I'd like to specify an include path to be used by the compiler. I
> > tried to use:
> > <compileflags>-I...
> > where "-I" specifies an include directory, but "bjam" seems to
> > ignore it and omit it from the compilation (all other compileflags
> > are passed correctly).
> > Is there a way to specify the include path as part of the toolset,
> > so I don't need to specify it on each build command (using
> You can use <include> directives in your Jam file:
> IIRC you can also use it as a command line feature arg to bjam, like
> Landesbank Baden-Wuerttemberg
> Anstalt des oeffentlichen Rechts
> Hauptsitze: Stuttgart, Karlsruhe, Mannheim, Mainz
> HRA 12704
> Amtsgericht Stuttgart
> Unsubscribe & other changes:
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