From 5453e2c2fe7f9413100775d8c607d9e8e004b1f7 Mon Sep 17 00:00:00 2001 From: Nathan Letwory Date: Wed, 4 Aug 2010 17:23:13 +0000 Subject: Add BF_BUILDINFO support to Python API too. reported by dail in IRC #blendercoders. --- source/blender/python/SConscript | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender') 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') -- cgit v1.2.3