[Scons-users] Handling deleted source files

Dan Pidcock dan.pidcock at googlemail.com
Thu Jun 27 07:50:08 EDT 2013


Hi,

Whenever somebody deletes (or renames) a source file in our project, scons
will fail the next build because it finds the existing .o file in the
variant directory, but doesn't know how to create it as the .cpp file has
disappeared underneath it.

scons -c before updating from source control does fix it but:
1. This causes a full rebuild which is very slow
2. You have to know that somebody else has deleted a file before you
update your source

Is there a SCons way around this?

Googling "scons deleted source files" didn't find me anything so I suspect
this is a failing in my usage of SCons rather than with SCons itself.

Thanks,

Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20130627/f4c42402/attachment.html


More information about the Scons-users mailing list