I did a very drastic cleanup for the different libgroups, there's now only a few left. It compiled with scons/msvc, will be testing in a bit on linux, too. If you get any problems, please reply to this commit message on the taskforce ML.
17 lines
467 B
Python
17 lines
467 B
Python
#!/usr/bin/python
|
|
import sys
|
|
Import ('env')
|
|
|
|
sources = env.Glob('intern/*.cpp')
|
|
|
|
incs = '. intern ../blenkernel ../blenlib ../makesdna ../editors/include'
|
|
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=['core','player'], priority=[0, 205] )
|