|
Boost-Build : |
Subject: [Boost-build] include order
From: Karsten Ahnert (karsten.ahnert_at_[hidden])
Date: 2014-04-01 03:08:18
Hi,
how can I specify the order of include path passed to the compiler?
My Jamroot specfies the requirements as
project : requirements
<include>./include
<include>$(BOOST_ROOT)
;
If I build the project from the project root directory the include order
is reversed. If I build a subpart of the project inside the tree the
order is correct. Any ideas how I can fix this such that the order is
always as specified in the Jamroot?
Thank you,
Karsten
Btw. I am trying to build odeint in its own repository and the order of
the include path is important to prefer the odeint include path instead
of the boost include path (which includes an older version of odeint).
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