[Bf-committers] SCons update - please test

Willian Padovani Germano bf-committers@blender.org
Tue, 30 Dec 2003 16:12:56 -0200


Hi Michel and all,

I tested the SCons build on *linux* today, on a clean copy of the
blender sources, updated from cvs less than an hour ago.  After a small
fix needed here it built without any problems.

> In the root of the source tree, there's a SConstruct file

To build I had to add zlib to this SConstruct file -- changed line 24:
    platform_libs = ['m', 'GL', 'GLU', 'png', 'jpeg', 'util']
to:
    platform_libs = ['m', 'z', 'GL', 'GLU', 'png', 'jpeg', 'util']

>   (all files are now compiled with -Wall and -W) (linux)

Indeed, *lots* more warnings with -W, probably most of them overkill,
but some should be helpful.

As Michel described, to test I had to:

- download SCons 0.94 from www.scons.org ;
- follow instructions in the readme file, something like;
  "python setup.py install" as root;
- unpack the files Michel attached to his email at the root blender dir;
- type "scons".

That's all.  Great work, Michel : ), I do like this new build system.

PS: As you said, the generated binary is smaller than the autotools one
(less than 1 MB of difference).  I didn't investigate how much impact
building with "NO SOUND", as you said is the case with your scons files
right now, has on this.  Probably not that much, so the new setup may be
doing a better work at linking, as you said.

--
Willian, wgermano@ig.com.br