+ '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 :)
15 lines
396 B
Python
15 lines
396 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
sources = 'stubs.c'
|
|
|
|
incs = '. .. ../../render/extern/include'
|
|
incs += ' #/intern/iksolver/extern ../../blenlib'
|
|
incs += ' ../../include ../../makesdna'
|
|
|
|
defs = ''
|
|
if env['WITH_BF_INTERNATIONAL']:
|
|
defs += 'WITH_FREETYPE2'
|
|
|
|
env.BlenderLib ('blenkernel_blc', sources = Split(sources), includes=Split(incs), defines=Split(defs), libtype='player',priority=225 )
|