Enable CXX_GUARDEDALLOC support through SCons.
This commit is contained in:
@@ -4,4 +4,10 @@ Import ('env')
|
||||
sources = env.Glob('intern/*.cpp')
|
||||
incs = '.'
|
||||
|
||||
env.BlenderLib ('bf_intern_string', sources, Split(incs), [], libtype=['intern','player'], priority = [50,10] )
|
||||
defs = []
|
||||
|
||||
if env['WITH_BF_CXX_GUARDEDALLOC']:
|
||||
defs.append('WITH_CXX_GUARDEDALLOC')
|
||||
incs += ' #intern/guardedalloc'
|
||||
|
||||
env.BlenderLib ('bf_intern_string', sources, Split(incs), defs, libtype=['intern','player'], priority = [50,10] )
|
||||
|
Reference in New Issue
Block a user