Merged changes in the trunk up to revision 31190.
[blender.git] / source / blender / python / SConscript
index b4ce9898b1be3d4def4088ba890964fc27a7a833..c9dc60dcc924bf095406dc4aa640efa617018706 100644 (file)
@@ -11,6 +11,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')