[Scons-users] ParseDepends and duplicate with variant directories

Gaurav Juvekar gauravjuvekar at gmail.com
Sun Dec 17 08:25:48 EST 2017


Hi,

I'm using this (https://bitbucket.org/scons/scons/wiki/ParseDepends) to use the compiler generated dependencies without requiring two passes. However, the problem is that when using it with variant directories, SCons first copies over the files that it detects a dependencies using the internal scanner, and then the compiler is run (in the variant dir) to generate dependencies which fails if some required files weren't found by the SCons scanner, defeating the point of using ParseDepends in the first place.


Is there a way to get the ParseDepends Builder to run in the source directory, and then copy over all of the compiler generated dependencies.



ParseDepends implemented as a tool https://gist.github.com/gauravjuvekar/9aed8d1ac117dc30ef34b28f4933e192

-- 
Regards,
Gaurav Juvekar



More information about the Scons-users mailing list