Resolved cyclic calls for editors. Now there's a space_api/ module, here you can use functions calling other editor modules. The functions in the module are only used by the WindowManager module to initialize space types. Note for sconzers and MSVC and cmake: the proper linking order for editors is: - space_api - space_xxx - object / mesh / transform / etc - interface - util / datafiles - screen
16 lines
436 B
Python
16 lines
436 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
sources = env.Glob('*.c')
|
|
|
|
incs = '../include ../../blenlib ../../blenkernel ../../makesdna'
|
|
incs += ' ../../windowmanager ../../python ../../makesrna'
|
|
incs += ' #/intern/guardedalloc #/extern/glew/include'
|
|
|
|
defs = ''
|
|
|
|
if not env['WITH_BF_PYTHON']:
|
|
defs += 'DISABLE_PYTHON'
|
|
|
|
env.BlenderLib ( 'bf_editors_space_api', sources, Split(incs), Split(defs), libtype=['core','intern'], priority=[30, 35] )
|