Subject: Re: [Boost-build] Failing dependency_test.py test.
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-07-15 20:59:08
On 07/15/2012 05:24 PM, Steven Watanabe wrote:
> On 07/15/2012 03:19 PM, Jurko GospodnetiÄ wrote:
>> If you or someone else could take a look - I'd be grateful... I hope
>> to have the time to look into it again tomorrow or a bit later during
>> the week...
> The problem is a result of these dependencies:
> INCLUDES x.cpp : x.bar ;
> DEPENDS <object(c-scanner)>x.cpp : x.cpp ;
> The result is that <object(c-scanner)>x.cpp
> (which binds to x.cpp) depends on x.bar.
> I think this can be solved by changing DEPENDS
> to INCLUDES, but this causes other problems.
A workaround is remove the DEPENDS and
use SEARCH instead of LOCATE for <object(c-scanner)>x.cpp.
This works because I already dealt with
this problem for generated sources found
by SEARCH. Actually, now that I think about
it, using SEARCH is probably better, anyway,
because b2 enters any target with LOCATE in
the explicit_bindings table.
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