==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:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user