Gaurav Juvekar
2017-12-17 13:25:48 UTC
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
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
Regards,
Gaurav Juvekar