==SCons==

+ 'scons blenderplayer' builds blender AND blenderplayer now (tested on Linux
  only, but was only linking issue, so should work on other platforms too).

  NOTE: I noticed some compileflags for GE specific libs that were left out -
  I re-enabled them in the SConscripts, but I'm going to do a test build my-
  self now, so if there are problems with them on win32, I probably already
  know about them :)
This commit is contained in:
Nathan Letwory
2006-02-07 21:24:36 +00:00
parent b11c92c66e
commit ef1b7a5735
43 changed files with 62 additions and 71 deletions

View File

@@ -1,13 +1,12 @@
#!/usr/bin/python
import sys
Import ('env')
sources = env.Glob('*.cpp')
incs = '. #source/kernel/gen_system #intern/string #intern/moto/include'
#TODO:
#if sys.platform=='win32':
# ras_rasterizer_env.Append ( CCFLAGS =['/Ox'])
cflags = []
if env['OURPLATFORM']=='win32-vc':
cflags.append('/Ox')
env.BlenderLib ( 'RAS_rasterizer', sources, Split(incs), [], libtype='game', priority=35 )
env.BlenderLib ( 'bf_rasterizer', sources, Split(incs), [], libtype=['game','player'], priority=[35,115], compileflags = cflags )