Subject: Re: [Boost-build] generator problems
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-03-23 00:01:31
On 03/22/2012 08:31 PM, George Georgiev wrote:
> 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.
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