Boost logo

Boost-Build :

Subject: Re: [Boost-build] Failing 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 : ;
> DEPENDS <object(c-scanner)>x.cpp : x.cpp ;
> The result is that <object(c-scanner)>x.cpp
> (which binds to x.cpp) depends on
> 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.

In Christ,
Steven Watanabe

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