diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2010-08-26 10:58:32 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2010-08-26 10:58:32 +0400 |
commit | 92422ba4525dedfc1687dfff14e11ee805a30c23 (patch) | |
tree | 305c95a3af396ebd0bbef23e68ac9c2408cc76d7 /source/blender/collada/SConscript | |
parent | e7c4a0d53b950e5be77528efad907def59d18a8f (diff) |
Patch [#23389] Add authorship information to exported COLLADA files
Contributed by Imran Syed (freakabcd).
This adds basic authoring tool and author info ("Blender User" for now).
NOTE: Linux and OSX users need now to update their OpenCOLLADA libs - Blender should now compile fine with their latest revision.
Made some changes to the original patch to ensure linking is done correctly.
Some small cleanups for scons too.
Diffstat (limited to 'source/blender/collada/SConscript')
-rw-r--r-- | source/blender/collada/SConscript | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/collada/SConscript b/source/blender/collada/SConscript index 91c3a381272..09402dcda64 100644 --- a/source/blender/collada/SConscript +++ b/source/blender/collada/SConscript @@ -28,6 +28,7 @@ Import ('env') sources = env.Glob('*.cpp') +defs = [] # relative paths to include dirs, space-separated, string if env['OURPLATFORM']=='darwin': @@ -35,5 +36,7 @@ if env['OURPLATFORM']=='darwin': else: incs = '../blenlib ../blenkernel ../windowmanager ../makesdna ../makesrna ../editors/include ../../../intern/guardedalloc [OPENCOLLADA]/COLLADAStreamWriter/include [OPENCOLLADA]/COLLADABaseUtils/include [OPENCOLLADA]/COLLADAFramework/include [OPENCOLLADA]/COLLADASaxFrameworkLoader/include '.replace('[OPENCOLLADA]', env['BF_OPENCOLLADA_INC']) -env.BlenderLib ('bf_collada', sources, Split(incs), [], libtype='core', priority=200 ) +if env['BF_BUILDINFO']: + defs.append('NAN_BUILDINFO') +env.BlenderLib ('bf_collada', sources, Split(incs), defs, libtype='core', priority=200 ) |