2009-01-29 05:19:27 +00:00
|
|
|
#!/usr/bin/python
|
|
|
|
|
import sys
|
|
|
|
|
Import ('env')
|
|
|
|
|
|
|
|
|
|
sources = env.Glob('intern/*.c')
|
|
|
|
|
|
2009-05-05 23:10:32 +00:00
|
|
|
incs = '. intern #/intern/guardedalloc ../blenkernel ../blenlib ../makesdna ../editors/include'
|
2009-02-17 19:57:05 +00:00
|
|
|
incs += ' #/extern/glew/include'
|
2009-02-17 19:37:47 +00:00
|
|
|
incs += ' ' + env['BF_FREETYPE_INC']
|
|
|
|
|
incs += ' ' + env['BF_GETTEXT_INC']
|
2009-01-29 09:57:28 +00:00
|
|
|
|
2009-09-24 07:03:18 +00:00
|
|
|
defs = []
|
2009-01-29 05:19:27 +00:00
|
|
|
|
2010-02-01 18:39:41 +00:00
|
|
|
if sys.platform == 'win32' or env['OURPLATFORM'] == 'linuxcross':
|
2010-08-29 20:52:05 +00:00
|
|
|
defs.append('_WIN32')
|
2009-09-24 07:03:18 +00:00
|
|
|
|
|
|
|
|
if env['WITH_BF_INTERNATIONAL']:
|
2011-09-26 10:35:47 +00:00
|
|
|
defs.append('WITH_INTERNATIONAL')
|
2009-02-17 20:16:09 +00:00
|
|
|
|
2009-09-05 01:58:02 +00:00
|
|
|
env.BlenderLib ( 'bf_blenfont', sources, Split(incs), Split(defs), libtype=['core','player'], priority=[210,210] )
|