Boost logo

Boost-Build :

Subject: Re: [Boost-build] Configuring the include path for a toolset
From: Jürgen Hunold (juergen.hunold_at_[hidden])
Date: 2011-08-05 05:32:45

Hi Shlomy,

On Friday, 5. August 2011 11:09:41 Shlomy Reinstein wrote:
> 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.

That may be a bug in the toolset definition

> Here's
> how I tried to do it:
> using android : x86 :
> $(NDK_PATH)/toolchains/x86-4.4.3/prebuilt/linux-x86/i686-android-linux/bin
> /c++ :
> <archiver>$(NDK_PATH)/toolchains/x86-4.4.3/prebuilt/linux-x86/i686-android
> -linux/bin/ar <include>$(NDK_PATH)/platforms/android-9/arch-x86/usr/include
> ...

I've just checked and found no "android.jam" in Boost.Build trunk. So this
seems to come from somewhere else. Please attach a copy /link for further
Maybe we can even add it to Boost.Build.

> 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)?

No, the place is right.

> 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.

As all other toolset provide this, this is reasonably.

Hope this helps,



* Dipl.-Math. Jürgen Hunold       ! Ingenieurgesellschaft für 
* voice: ++49 511 262926 57       ! Verkehrs- und Eisenbahnwesen mbH  
* fax  : ++49 511 262926 99       ! Lister Straße 15
* juergen.hunold_at_[hidden]        !
* Geschäftsführer:                ! Sitz des Unternehmens: Hannover
* Prof. Dr.-Ing. Thomas Siefer    ! Amtsgericht Hannover, HRB 56965
* PD Dr.-Ing. Alfons Radtke       !

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