Recast: fix bad level calls, Recast compiled out if BGE not enabled. SCons updated but not tested.

This commit is contained in:
2011-09-11 14:13:04 +00:00
parent 3d3f6b1ddc
commit b988a2abf8
12 changed files with 56 additions and 65 deletions

View File

@@ -7,8 +7,7 @@ incs = '. ./intern'
incs += ' #/intern/guardedalloc #/intern/decimation/extern #/intern/bsp/extern #/intern/elbeem/extern #/extern/glew/include'
incs += ' ../render/extern/include ../blenloader'
incs += ' ../include ../blenlib ../makesdna ../makesrna ../blenkernel ../blenkernel/intern'
incs += ' ../editors/include ../gpu'
incs += ' #extern/recastnavigation/Recast/Include'
incs += ' ../gpu'
incs += ' ' + env['BF_ZLIB_INC']
@@ -21,6 +20,10 @@ defs += ['WITH_MOD_DECIMATE']
if env['BF_NO_ELBEEM']:
defs.append('DISABLE_ELBEEM')
if env['WITH_BF_GAMEENGINE']:
incs += ' #/extern/recastnavigation/Recast/Include'
defs.append('WITH_GAMEENGINE')
env.BlenderLib ( libname = 'bf_modifiers', sources = sources,
includes = Split(incs), defines=defs,
libtype=['core','player'], priority = [80, 40] )