forked from bartvdbraak/blender
ef1b7a5735
+ '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 :)
13 lines
340 B
Python
Executable File
13 lines
340 B
Python
Executable File
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
sources = env.Glob('*.cpp')
|
|
|
|
incs = '. #source/kernel/gen_system #intern/string #intern/moto/include'
|
|
|
|
cflags = []
|
|
if env['OURPLATFORM']=='win32-vc':
|
|
cflags.append('/Ox')
|
|
|
|
env.BlenderLib ( 'bf_rasterizer', sources, Split(incs), [], libtype=['game','player'], priority=[35,115], compileflags = cflags )
|