diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2010-01-10 19:29:53 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2010-01-10 19:29:53 +0300 |
commit | c8966e53732a43b00516b7680c59586b874b5f1e (patch) | |
tree | 0f90222fa4536c6041fa5254e4d80fea2d429869 | |
parent | 83e5edf5cb8fdaa0b08743756665f8a0ab8fc066 (diff) |
* 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).
-rw-r--r-- | source/blender/windowmanager/SConscript | 3 | ||||
-rw-r--r-- | source/creator/SConscript | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/windowmanager/SConscript b/source/blender/windowmanager/SConscript index beae5b721cc..0a86133e614 100644 --- a/source/blender/windowmanager/SConscript +++ b/source/blender/windowmanager/SConscript @@ -32,4 +32,7 @@ if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'): if env['WITH_GHOST_COCOA']: 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] ) diff --git a/source/creator/SConscript b/source/creator/SConscript index 6c95f25a0b2..8c71e0e8566 100644 --- a/source/creator/SConscript +++ b/source/creator/SConscript @@ -38,5 +38,6 @@ if env['WITH_BF_FHS']: # /usr -> /usr/share/blender/2.5 if env['BF_BUILDINFO']: 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 ) |