
+ '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
409 B
Python
15 lines
409 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
sources = env.Glob('intern/*.c')
|
|
|
|
incs = '. .. #/intern/guardedalloc ../blenlib ../imbuf ../makesdna'
|
|
|
|
defs = []
|
|
|
|
if env['WITH_BF_QUICKTIME'] == 1:
|
|
defs.append('WITH_QUICKTIME')
|
|
incs += ' ' + env['BF_QUICKTIME_INC']
|
|
|
|
env.BlenderLib ( libname = 'bf_blenpluginapi', sources = sources, includes = Split(incs), defines = defs, libtype=['core', 'player'], priority = [75, 35] )
|