+ '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 :)
17 lines
474 B
Python
17 lines
474 B
Python
#!/usr/bin/python
|
|
import sys
|
|
Import ('env')
|
|
|
|
sources = env.Glob('intern/*.cpp')
|
|
|
|
incs = '. intern ../blenkernel ../blenlib ../makesdna'
|
|
incs += ' ' + env['BF_FTGL_INC']
|
|
incs += ' ' + env['BF_FREETYPE_INC']
|
|
incs += ' ' + env['BF_GETTEXT_INC']
|
|
|
|
defs = 'FTGL_STATIC_LIBRARY'
|
|
if sys.platform == 'win32':
|
|
defs += ' _WIN32 USE_GETTEXT_DLL'
|
|
|
|
env.BlenderLib ( 'bf_ftfont', sources, Split(incs), Split(defs), libtype=['international','player'], priority=[0, 205] )
|