Boost logo

Boost-Build :

Subject: Re: [Boost-build] Need help with implicit dependency scanner
From: Anatoli Sakhnik (sakhnik_at_[hidden])
Date: 2009-07-09 01:11:28


Well, I've found out. It appears that naive pattern '(.*)' consumes
not only an unquoted file name, but also <cr> and other invisible
tailing characters. So using more sophisticated '([a-zA-Z1-9.]*)'
instead does the work.

Although I don't understand why ever <cr> appears in the matching
string, but the solution is enough for us. Sorry troubling.

Anatoli

2009/7/8 Anatoli Sakhnik <sakhnik_at_[hidden]>:
> Hi there!
>
> Our project uses code generation, and the source code is split into
> few files. They are included with a directive "//%include" or
> something similar, and only the central one needs to be built.
> However, if I update the included ones, the central one is not
> rebuild, so implicit dependencies aren’t get into account.
>
> Can anyone look into the attached archive (very tiny excerpt) and tell
> me what’s wrong with the scanner?
>
> — Anatoli
>


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