Subject: Re: [Boost-build] Generated C files not rescanned
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-08-16 22:05:52
On 08/16/2013 01:41 PM, Nogradi, Chris wrote:
> Hello, I am running into an issue with generated C files that apparently are not rescan after generation. I thought this may have worked at one time and the mailing list suggest that it did but the attached example does not show it working (maybe I am doing something wrong??). If you build the 'test' target in the attached example (I am building on Windows using svn-85183), the exe will be built successfully. However, if you make a change to test.h, and rebuild without -a, nothing will be rebuilt. If you do a -d+12 you will see that the generated gen.c does not have any header file dependencies but it actually depends on test.h. Attached is also my -d+12 output.
It looks to me like the scanner isn't automatically inherited.
You can try:
type.set-scanner GEN_C : c-scanner ;
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