forked from bartvdbraak/blender
9a85013692
* Division by zero fix for TNT SVD code. * Sound fix, in case ffmpeg decode fails, don't use the samples. * Fix for incorrect bounds of transformed objects in new raytracing code. * Gave memory arena's a name used for allocations for easier memory usage debugging. * Dupligroup no_draw option was using layers but not restrict view/render setting. (not a bugfix exactly but would do display list context switching while drawing for no reason). * Fix objects instanced on hair particles not giving consistent results when the object is transformed. * New math functions: madd_v4_v4fl, len_squared_v3v3, interp_v4_v4v4v4, mul_v4_m4v4, SH and form factor functions, box_minmax_bounds_m4. * mul_m4_m4m4 and mul_m3_m3m3 now accept the same pointers for multiple arguments. * endjob callback for WM jobs system. * Geometry node uv/color layer now has search list/autocomplete. * Various small buildsystem tweaks, not strictly needed yet in trunk.
50 lines
1.6 KiB
Python
50 lines
1.6 KiB
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
import os
|
|
|
|
sources = 'creator.c'
|
|
|
|
incs = '#/intern/guardedalloc ../blender/blenlib ../blender/blenkernel'
|
|
incs += ' ../blender/editors/include ../blender/blenloader ../blender/imbuf'
|
|
incs += ' ../blender/renderconverter ../blender/render/extern/include ../blender/windowmanager'
|
|
incs += ' ../blender/makesdna ../blender/makesrna ../kernel/gen_messaging'
|
|
incs += ' ../kernel/gen_system #/extern/glew/include ../blender/gpu'
|
|
incs += ' ' + env['BF_OPENGL_INC']
|
|
|
|
defs = []
|
|
if env['WITH_BF_QUICKTIME']:
|
|
incs += ' ' + env['BF_QUICKTIME_INC']
|
|
defs.append('WITH_QUICKTIME')
|
|
|
|
if env['WITH_BF_BINRELOC']:
|
|
incs += ' ../../extern/binreloc/include'
|
|
defs.append('WITH_BINRELOC')
|
|
|
|
if env['WITH_BF_OPENEXR']:
|
|
defs.append('WITH_OPENEXR')
|
|
|
|
if not env['WITH_BF_SDL']:
|
|
defs.append('DISABLE_SDL')
|
|
|
|
if env['WITH_BF_PYTHON']:
|
|
incs += ' ../blender/python'
|
|
if env['BF_DEBUG']:
|
|
defs.append('_DEBUG')
|
|
else:
|
|
defs.append('DISABLE_PYTHON')
|
|
|
|
if env['WITH_BF_FHS']: # /usr -> /usr/share/blender/2.5
|
|
defs.append('BLENDERPATH=\\"' + os.path.join(env['BF_INSTALLDIR'], 'share', 'blender', env['BF_VERSION']) + '\\"')
|
|
|
|
if env['BF_BUILDINFO']:
|
|
defs.append('BUILD_DATE')
|
|
defs.append('NAN_BUILDINFO')
|
|
|
|
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
|
|
incs += ' ' + env['BF_PTHREADS_INC']
|
|
|
|
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
|
|
incs += ' ' + env['BF_PTHREADS_INC']
|
|
|
|
env.BlenderLib ( libname = 'bf_creator', sources = Split(sources), includes = Split(incs), defines = defs, libtype='core', priority = 0 )
|