forked from bartvdbraak/blender
17 lines
485 B
Python
17 lines
485 B
Python
#!/usr/bin/python
|
|
import sys
|
|
Import ('env')
|
|
|
|
sources = env.Glob('intern/*.cpp')
|
|
|
|
incs = '. intern ../blenkernel ../blenlib ../makesdna ../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=['international','player'], priority=[0, 205] )
|