diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2010-08-04 21:23:13 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2010-08-04 21:23:13 +0400 |
commit | 5453e2c2fe7f9413100775d8c607d9e8e004b1f7 (patch) | |
tree | 150ebbcc2d5da38a425aa7f9992e4244d061490a /source/blender/python/SConscript | |
parent | cb98fd289d95756d197a9d3d34ad37b38ed11f6e (diff) |
Add BF_BUILDINFO support to Python API too.
reported by dail in IRC #blendercoders.
Diffstat (limited to 'source/blender/python/SConscript')
-rw-r--r-- | source/blender/python/SConscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/python/SConscript b/source/blender/python/SConscript index ca742a3646a..17189341136 100644 --- a/source/blender/python/SConscript +++ b/source/blender/python/SConscript @@ -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') |