[Scons-users] update dependency and signatures.dblite after biilding

Bill Deegan bill at baddogconsulting.com
Fri Jun 6 01:07:38 EDT 2025


Not true.
There's an optional C scanner SCons.Scanner.C.CConditionalScanner

something like this should work.

from SCons.Scanner.C import CConditionalScanner
SourceFileScanner.add_scanner('.c', CConditionalScanner) <--- change the
first argument to match your various source file suffixes.


On Thu, Jun 5, 2025 at 8:15 PM 于 <yjtyzw at 126.com> wrote:

> Hello guys,
>
> ‍I know that scons can't cover the marco case (define XXX xxx.h @#include
> XXX) with implicit dependencies.
> ParseDepends Function can parse the dependencies of source files, but it
> will leads to unnecessary recompilations.
> My question is that could I update dependency and database manually after
> building?
>
>
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20250605/33136a21/attachment.htm>


More information about the Scons-users mailing list