Boost logo

Boost-Build :

Subject: Re: [Boost-build] Configuring the include path for a toolset
From: Holger Joukl (Holger.Joukl_at_[hidden])
Date: 2011-08-05 03:24:18


> 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

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at