|
Boost-Build : |
Subject: [Boost-build] Configuring the include path for a toolset
From: Shlomy Reinstein (sreinst1_at_[hidden])
Date: 2011-08-04 14:39:04
Hi,
I'm building Boost for Android. I've edited the user-config.jam file, and
added something like the following:
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
<compileflags>....
...
;
To build, I add "toolset=android-x86" to the "bjam" command.
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 "include=...")?
Thanks,
Shlomy
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