forked from bartvdbraak/blender
Add BF_BUILDINFO support to Python API too.
reported by dail in IRC #blendercoders.
This commit is contained in:
parent
cb98fd289d
commit
5453e2c2fe
@ -10,6 +10,9 @@ incs += ' ' + env['BF_PYTHON_INC']
|
||||
|
||||
defs = []
|
||||
|
||||
if env['BF_BUILDINFO']:
|
||||
defs.append('BUILD_DATE')
|
||||
|
||||
if env['OURPLATFORM'] in ('win32-mingw', 'win32-vc','win64-vc') and env['BF_DEBUG']:
|
||||
defs.append('_DEBUG')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user