[Bf-committers] OS X game engine
Michael Velikanje
bf-committers@blender.org
Mon, 5 Apr 2004 00:01:31 -0800
--Apple-Mail-3--234324021
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
format=flowed
I compiled blender with the game engine using the NaN make and with
scons. I've gone through the entire set of demo files on both builds
with Show Framerate and Profile turned on, and they both run the same.
I ran all the demos several times and got the same results each time.
The biggest difference between the two builds is the scons build (9.2M)
is 1.8Meg smaller than the NaN build (11M).
--Apple-Mail-3--234324021
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
x-unix-mode=0644;
name="sconstrucOSX-optimizations-patch.txt"
Content-Disposition: attachment;
filename=sconstrucOSX-optimizations-patch.txt
Index: SConstruct
===================================================================
RCS file: /cvsroot/bf-blender/blender/SConstruct,v
retrieving revision 1.38
diff -u -r1.38 SConstruct
--- SConstruct 4 Apr 2004 13:57:28 -0000 1.38
+++ SConstruct 5 Apr 2004 07:57:40 -0000
@@ -121,13 +121,13 @@
# TODO: replace darwin-6.8-powerpc with the actual directiory on the
# build machine
darwin_precomp = '#../lib/darwin-6.8-powerpc'
- extra_flags = ['-pipe', '-fPIC', '-funsigned-char']
+ extra_flags = ['-pipe', '-fPIC', '-funsigned-char', '-ffast-math']
cxxflags = []
defines = ['_THREAD_SAFE']
if use_quicktime == 'true':
defines += ['WITH_QUICKTIME']
warn_flags = ['-Wall', '-W']
- release_flags = []
+ release_flags = ['-O2']
debug_flags = ['-g']
window_system = 'CARBON'
# z library information
--Apple-Mail-3--234324021
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
format=flowed
Michael Velikanje
--Apple-Mail-3--234324021--