See http://wiki.blender.org/index.php/BlenderDev/PyNodes and http://wiki.blender.org/index.php/BlenderDev/PyNodes/API For current documentation. Very very big thanks go to William Germano for fixing the memory issues left and for improving on the code. In the coming time documentation will be finalised and further stabilising of PyNodes is to be expected.
29 lines
907 B
Python
29 lines
907 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
sources = Split('BPY_interface.c BPY_menus.c') + env.Glob('api2_2x/*.c')
|
|
|
|
incs = 'api2_2x ../blenkernel ../nodes ../blenlib ../blenloader'
|
|
incs += ' ../render/extern/include ../radiosity/extern/include'
|
|
incs += ' ../makesdna #intern/guardedalloc #intern/bmfont ../imbuf ../include'
|
|
incs += ' ' + env['BF_PYTHON_INC']
|
|
incs += ' ' + env['BF_OPENGL_INC']
|
|
|
|
defs = []
|
|
if env['OURPLATFORM'] in ('win32-mingw') and env['BF_DEBUG']:
|
|
defs.append('Py_TRACE_REFS')
|
|
|
|
if env['WITH_BF_QUICKTIME']==1:
|
|
incs += ' ' + env['BF_QUICKTIME_INC']
|
|
defs.append('WITH_QUICKTIME')
|
|
|
|
if env['WITH_BF_OPENEXR'] == 1:
|
|
defs.append('WITH_OPENEXR')
|
|
|
|
defs.append('USE_PYNODES')
|
|
|
|
if env['WITH_BF_FFMPEG'] == 1:
|
|
defs.append('WITH_FFMPEG')
|
|
|
|
env.BlenderLib ( libname='blender_python', sources = Split(sources), includes = Split(incs), defines = defs, libtype=['core','game2'], priority = [60,115] )
|