Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2010-08-04 21:23:13 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2010-08-04 21:23:13 +0400
commit5453e2c2fe7f9413100775d8c607d9e8e004b1f7 (patch)
tree150ebbcc2d5da38a425aa7f9992e4244d061490a /source/blender
parentcb98fd289d95756d197a9d3d34ad37b38ed11f6e (diff)
Add BF_BUILDINFO support to Python API too.
reported by dail in IRC #blendercoders.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/python/SConscript3
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')