Also fixed in main CMakeList file, when no addon dir found, we want to disable WITH_PYTHON (I guess, certainly not WITH_INTERNATIONAL ;) ).
16 lines
504 B
Python
16 lines
504 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
sources = env.Glob('*.c')
|
|
|
|
incs = '../include ../../blenfont ../../blenlib ../../blenkernel ../../makesdna ../../imbuf'
|
|
incs += ' ../../windowmanager #/intern/guardedalloc #/extern/glew/include'
|
|
incs += ' ../../bmesh ../../makesrna ../../render/extern/include ../../blenloader'
|
|
|
|
defs = []
|
|
|
|
if env['WITH_BF_INTERNATIONAL']:
|
|
defs.append('WITH_INTERNATIONAL')
|
|
|
|
env.BlenderLib ( 'bf_editors_space_buttons', sources, Split(incs), defs, libtype=['core'], priority=[120] )
|