|
Boost-Build : |
Subject: Re: [Boost-build] generator problems
From: George Georgiev (george.georgiev.sf_at_[hidden])
Date: 2012-03-23 00:05:20
I am using 1.47.0. Is there big difference between trunk and 1.49.0?
On Thu, Mar 22, 2012 at 9:01 PM, Steven Watanabe <watanabesj_at_[hidden]> wrote:
> AMDG
>
> On 03/22/2012 08:31 PM, George Georgiev wrote:
>> Hi,
>>
>> Something that I can not understand is how the scanner will be able to
>> detect the dependencies if the files are still not generated.
>
> Generated targets are rescanned for dependencies.
> i.e. the include scanner should run /after/
> lib1-1.cpp is created.
>
>> I feel
>> like the right solutions is in scanner.process to be added fake
>> propagation explaining the expected dependencies. In pseudo code:
>>
>>
>> rule process ( target : matches * : binding )
>> {
>> ...
>>
>> local cpp = get cpp target from $(target);
>> headers = get h targets from $(matches);
>> INCLUDES $(cpp) : $(headers) ;
>> }
>>
>> Unfortunately I am laking a basic knowledge of jam language and every
>> experiment takes me forever to implement.
>>
>
> In Christ,
> Steven Watanabe
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
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