+ '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 :)
14 lines
404 B
Python
14 lines
404 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
sources = env.Glob('intern/*.c')
|
|
|
|
incs = '. #/intern/guardedalloc ../blenlib ../blenkernel'
|
|
incs += ' ../makesdna ../readblenfile ../include'
|
|
incs += ' ../python ../../kernel/gen_messaging'
|
|
incs += ' ../render/extern/include'
|
|
|
|
incs += ' ' + env['BF_ZLIB_INC']
|
|
|
|
env.BlenderLib ( 'bf_blenloader', sources, Split(incs), [], libtype=['core','player'], priority = [70, 30] )
|