[Scons-users] C scanner and conditional includes

Andreas Vinsander andreas at vinsander.se
Tue Oct 23 10:10:57 EDT 2012


Hi all,

I have a dependency problem.
A third party tool generates a C header file that conditionally includes
another header file.
SCons C scanner fails to detect the dependency and thus breaks our build.

I guess that this might be a commonly known problem and would be interested
in knowing how others have solved it.
Explicitly listing the dependencies via Depends() works but I would prefer
something else. Anybody willing to share a better scanner?

Thanks,
/Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20121023/4ff19673/attachment.htm>


More information about the Scons-users mailing list