blob: 21e2c8f66b07a060e67b6c1e92d65086ab315158 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
guardal_env = Environment()
# Import the C flags set in the SConstruct file
Import ('cflags')
Import ('cxxflags')
Import ('defines')
Import ('user_options_dict')
guardal_env.Append (CCFLAGS = cflags)
guardal_env.Append (CXXFLAGS = cxxflags)
guardal_env.Append (CPPDEFINES = defines)
source_files = ['intern/mallocn.c']
guardal_env.Append (CPPPATH = ['.'])
guardal_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_guardedalloc', source=source_files)
|