Search code examples
linuxmakefilesconsrebuild

Scons: how to force rebuild?


When using make, I can specify make -B to force rebuild.

But how specify it with scons, to force rebuild all or force rebuild specific folders?


Solution

  • Try this:

    scons --clean [targets]
    scons --no-cache [targets]
    

    Reference: http://scons.tigris.org/issues/show_bug.cgi?id=438