[Bf-committers] SCons building: Short question

Michel Selten bf-committers@blender.org
Sun, 22 Feb 2004 20:25:19 +0100


On Sun, 2004-02-22 at 15:34, Meino Christian Cramer wrote:
> Hi,
> 
>  ...am I right, that calling "scons" in the root of the blender
>  CVS source tree do build a new version of blender with all committed
>  changes ?
> 
>  ...I am not sure, but ist seems, that I get allways the same binary from
>  chnging sources...
Hi,

SCons 'sees' which files have been changed and will only recompile
those, plus all dependencies (if any).
By default it doesn't look at changed date/time, but it runs an MD5 sum
on it, so only when the content of a file is changed, it will be
recompiled.
For a quick test, you could add a comment line to any .c or .h file in
source/blender/src (for example), and see if scons rebuilds that file.
Don't forget to undo your changes afterwards, or you could get cvs merge
problems ;)

With regards,
	Michel