23 lines
617 B
Python
23 lines
617 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
sources = env.Glob('*.c')
|
|
|
|
for source in env.Glob('*_api.c'):
|
|
sources.remove(source)
|
|
|
|
incs = '../include ../../blenlib ../../blenfont ../../blenkernel ../../makesdna ../../imbuf'
|
|
incs += ' ../../makesrna ../../windowmanager #/intern/guardedalloc ../../gpu'
|
|
incs += ' #/extern/glew/include'
|
|
incs += ' ../../python/' # python button eval
|
|
|
|
defs = []
|
|
|
|
if env['WITH_BF_INTERNATIONAL']:
|
|
defs.append('INTERNATIONAL')
|
|
|
|
if not env['WITH_BF_PYTHON']:
|
|
defs.append('DISABLE_PYTHON')
|
|
|
|
env.BlenderLib ( 'bf_editors_interface', sources, Split(incs), defs, libtype=['core'], priority=[110] )
|