[Scons-users] Is it possible to control the order of the Clean?

Chris BeHanna chris at behanna.org
Thu Jan 10 12:34:48 EST 2013


On Jan 10, 2013, at 07:20 , Mark Ribau <mribau at realtaentertainment.com> wrote:


> We have some generated code that we want cleaned when we do a full clean. However, that code tells us a lot of information about how to clean other files. Is it possible to make the generated stuff be cleaned AFTER the other files (the generated code currently gets built before the other files due to a combination of Requires() and dependency graph).


In my experience, the easiest way to do a thorough clean is

a) use VariantDir for your builds

b) blow away the variant directory in order to clean

Your source tree stays clean this way, and cleanup is quick, quick, quick!

--
Chris BeHanna
chris at behanna.org


More information about the Scons-users mailing list