12.18
I collected few commands into script files to automate the Blender building process on Ubuntu and Windows. There is also timers set to measure the building time. For windows Timeit.exe is needed. It comes with the Windows Server 2003 Resource Kit Tools package. Ubuntu script should work on OS X also but I haven’t tested that yet.
Ubuntu
build.sh
#! /bin/bash
cd blender;
svn update;
echo "BF_OPENAL_LIB = 'openal alut'" >> user-config.py;
time python scons/scons.py;
Windows
build.bat
PATH=%PATH%;C:\Python26;^
C:\BlenderSVN\lib\windows;^
C:\BlenderSVN\lib\windows\QTDevWin;^
C:\BlenderSVN\lib\windows\pthreads\lib;^
C:\BlenderSVN\lib\windows\pthreads\include;^
C:\MinGW\bin;^
C:\MinGW\lib
cd lib\windows
svn update
cd ..\..\blender
svn update
timeit python scons/scons.py BF_TOOLSET=mingw
No Comment.
Add Your Comment