forked from bartvdbraak/blender
* make sure build info is enabled for BF_BUILDINFO (this is enabled by default, and can be set in your user-config.py or other custom config).
This commit is contained in:
parent
83e5edf5cb
commit
c8966e5373
@ -32,4 +32,7 @@ if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
|
|||||||
if env['WITH_GHOST_COCOA']:
|
if env['WITH_GHOST_COCOA']:
|
||||||
sources.remove('intern/wm_apple.c')
|
sources.remove('intern/wm_apple.c')
|
||||||
|
|
||||||
|
if env['BF_BUILDINFO']:
|
||||||
|
defs.append('NAN_BUILDINFO')
|
||||||
|
|
||||||
env.BlenderLib ( 'bf_windowmanager', sources, Split(incs), defs, libtype=['core'], priority=[5] )
|
env.BlenderLib ( 'bf_windowmanager', sources, Split(incs), defs, libtype=['core'], priority=[5] )
|
||||||
|
@ -38,5 +38,6 @@ if env['WITH_BF_FHS']: # /usr -> /usr/share/blender/2.5
|
|||||||
|
|
||||||
if env['BF_BUILDINFO']:
|
if env['BF_BUILDINFO']:
|
||||||
defs.append('BUILD_DATE')
|
defs.append('BUILD_DATE')
|
||||||
|
defs.append('NAN_BUILDINFO')
|
||||||
|
|
||||||
env.BlenderLib ( libname = 'bf_creator', sources = Split(sources), includes = Split(incs), defines = defs, libtype='core', priority = 0 )
|
env.BlenderLib ( libname = 'bf_creator', sources = Split(sources), includes = Split(incs), defines = defs, libtype='core', priority = 0 )
|
||||||
|
Loading…
Reference in New Issue
Block a user