Bugfix: scons builds didn't print build info when running blender -v.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 19 Oct 2009 16:29:26 +0000 (16:29 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 19 Oct 2009 16:29:26 +0000 (16:29 +0000)
source/creator/SConscript

index 7b3d1493ed2adecca1d77b9e9bb7e40f17ef164b..6c95f25a0b29cec8cc9dd197ba5a7071e71aeb2a 100644 (file)
@@ -36,5 +36,7 @@ else:
 if env['WITH_BF_FHS']: # /usr -> /usr/share/blender/2.5
        defs.append('BLENDERPATH=\\"' + os.path.join(env['BF_INSTALLDIR'], 'share', 'blender', env['BF_VERSION']) + '\\"')
        
+if env['BF_BUILDINFO']:
+       defs.append('BUILD_DATE')
 
 env.BlenderLib ( libname = 'bf_creator', sources = Split(sources), includes = Split(incs), defines = defs, libtype='core', priority = 0 )