Forums
Question on build script - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4)
+--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9)
+--- Thread: Question on build script (/showthread.php?tid=412)



Question on build script - rookie1 - 11-09-2006

It seems there is a build script change recently. It used to be scons only compile the changed file. Now it seems everyday it's trying to do a full re-build no matter whether any file has been changed. Could it be because the current date is used as the version string?


- thelusiv - 11-09-2006

This has always been this way. Recently I added something to SVN so that, if release=0 when you run scons, it sets the version to "development" instead of the date. This way you don't have to recompile every file once a day. To turn it on just do
Code:
scons release=0
after that it will save your setting for release, so you can just run
Code:
scons
and it will still use release=0 until you change it.


- rookie1 - 11-10-2006

I was testing a release build, and used 'scons release=1' previously. Didn't know it has this effect. Thanks for clarifying.