From 7fd8ce8156fcada505c73f5fb7af4b8ced755a3e Mon Sep 17 00:00:00 2001 From: Nathan Letwory Date: Tue, 22 Aug 2006 13:04:07 +0000 Subject: * Patch #4909 by Joseph Eagar (joeedh) - this patch adds verse support for SCons, which can be enabled by giving WITH_BF_VERSE=1, ie. on command-line - this patch also adds a custom lib dir possibility. From the patch description: "To set a custom ../lib dir, put LCGDIR="path to lib dir, including the platform folder name!" in your user-config.py." * Fixed win32-vc-config.py so that it links to the proper library. Reported by Brandano. --- source/blender/blenloader/SConscript | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'source/blender/blenloader/SConscript') diff --git a/source/blender/blenloader/SConscript b/source/blender/blenloader/SConscript index a5096cefdcd..fb36b15e3e7 100644 --- a/source/blender/blenloader/SConscript +++ b/source/blender/blenloader/SConscript @@ -10,4 +10,9 @@ incs += ' ../render/extern/include' incs += ' ' + env['BF_ZLIB_INC'] -env.BlenderLib ( 'bf_blenloader', sources, Split(incs), [], libtype=['core','player'], priority = [70, 30] ) +defs = '' +if env['WITH_BF_VERSE']: + defs += ' WITH_VERSE' + incs += ' ' + env['BF_VERSE_INCLUDE'] + +env.BlenderLib ( 'bf_blenloader', sources, Split(incs), Split(defs), libtype=['core','player'], priority = [70, 30] ) -- cgit v1.2.3