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