Files
test2/source/blender/editors/interface/SConscript
Campbell Barton 98ee2a781d option to build the BGE without python, uses existing python check (cmake and scons)
when python is disabled videotextures are not built.
2009-09-29 21:42:40 +00:00

23 lines
607 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'
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] )