== Sequencer ==
[plumiferos.git] / source / blender / python / SConscript
blob9cd245394b0ca2a57a956e11619a36fef4119ba0
1 #!/usr/bin/python
2 Import ('env')
4 sources = Split('BPY_interface.c BPY_menus.c') + env.Glob('api2_2x/*.c')
6 incs = 'api2_2x ../blenkernel ../blenlib ../blenloader'
7 incs += ' ../render/extern/include ../radiosity/extern/include'
8 incs += ' ../makesdna #intern/guardedalloc #intern/bmfont ../imbuf ../include'
9 incs += ' ' + env['BF_PYTHON_INC']
10 incs += ' ' + env['BF_OPENGL_INC']
12 defs = []
13 if env['OURPLATFORM'] in ('win32-mingw') and env['BF_DEBUG']:
14 defs.append('Py_TRACE_REFS')
16 if env['WITH_BF_QUICKTIME']==1:
17 incs += ' ' + env['BF_QUICKTIME_INC']
18 defs.append('WITH_QUICKTIME')
20 if env['WITH_BF_OPENEXR'] == 1:
21 defs.append('WITH_OPENEXR')
23 if env['WITH_BF_FFMPEG'] == 1:
24 defs.append('WITH_FFMPEG')
26 env.BlenderLib ( libname='blender_python', sources = Split(sources), includes = Split(incs), defines = defs, libtype=['core','game2'], priority = [60,115] )