|
Boost-Build : |
From: Rene Rivera (grafik666_at_[hidden])
Date: 2003-10-10 13:49:36
[2003-10-10] Mark Sheppard wrote:
>I never use SEARCH for finding sources - I guess this would need tweaking
if
>you do. Anyway my changes mean that Jam can now correctly find d.h in the
>following case:
>
> a.cpp:
> #include "b/c.h"
>
> b/c.h:
> #include "d.h"
>
> b/d.h:
> whatever
>
>Without this you'd have to explicitly add "b" to SEARCH somewhere. We've
>got headers spread all over the place so that would make SEARCH very long
>whereas INCPATH is relatively short.
One problem you should be aware of is that not all CPP's interpret the
#include "d.h" above to mean "include file d.h from directory b". Some
search a predefined user include path only, and others search only the PWD
directory.
-- grafik - Don't Assume Anything
-- rrivera (at) acm.org - grafik (at) redshift-software.com
-- 102708583 (at) icq
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