* Merged changes in the trunk up to revision 31789.
* Made a local fix for a compilation error with VC++ 2008 and CMake, reported to the bf-committers mailing list: http://lists.blender.org/pipermail/bf-committers/2010-September/028643.html
This commit is contained in:
@@ -13,37 +13,37 @@ incs += ' ' + env['BF_OPENGL_INC']
|
||||
|
||||
defs = []
|
||||
if env['WITH_BF_QUICKTIME']:
|
||||
incs += ' ' + env['BF_QUICKTIME_INC']
|
||||
defs.append('WITH_QUICKTIME')
|
||||
incs += ' ' + env['BF_QUICKTIME_INC']
|
||||
defs.append('WITH_QUICKTIME')
|
||||
|
||||
if env['WITH_BF_BINRELOC']:
|
||||
incs += ' ../../extern/binreloc/include'
|
||||
defs.append('WITH_BINRELOC')
|
||||
incs += ' ../../extern/binreloc/include'
|
||||
defs.append('WITH_BINRELOC')
|
||||
|
||||
if env['WITH_BF_OPENEXR']:
|
||||
defs.append('WITH_OPENEXR')
|
||||
defs.append('WITH_OPENEXR')
|
||||
|
||||
if env['WITH_BF_TIFF']:
|
||||
defs.append('WITH_TIFF')
|
||||
defs.append('WITH_TIFF')
|
||||
|
||||
if not env['WITH_BF_SDL']:
|
||||
defs.append('DISABLE_SDL')
|
||||
defs.append('DISABLE_SDL')
|
||||
|
||||
if env['WITH_BF_PYTHON']:
|
||||
incs += ' ../blender/python'
|
||||
if env['BF_DEBUG']:
|
||||
defs.append('_DEBUG')
|
||||
incs += ' ../blender/python'
|
||||
if env['BF_DEBUG']:
|
||||
defs.append('_DEBUG')
|
||||
else:
|
||||
defs.append('DISABLE_PYTHON')
|
||||
|
||||
defs.append('DISABLE_PYTHON')
|
||||
|
||||
if env['BF_BUILDINFO']:
|
||||
defs.append('BUILD_DATE')
|
||||
defs.append('NAN_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']
|
||||
incs += ' ' + env['BF_PTHREADS_INC']
|
||||
|
||||
env.BlenderLib ( libname = 'bf_creator', sources = Split(sources), includes = Split(incs), defines = defs, libtype='core', priority = 0 )
|
||||
|
Reference in New Issue
Block a user