blob: 88e968b66c64370e9847207ba69d3f5818af7c05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
kernel_env = Environment ()
# Import the C flags set in the SConstruct file
Import ('cflags')
Import ('cxxflags')
Import ('defines')
Import ('user_options_dict')
kernel_env.Append (CCFLAGS = cflags)
kernel_env.Append (CXXFLAGS = cxxflags)
kernel_env.Append (CPPDEFINES = defines)
source_files = ['gen_messaging/intern/messaging.c',
'gen_system/GEN_HashedPtr.cpp',
'gen_system/GEN_Matrix4x4.cpp',
'gen_system/SYS_SingletonSystem.cpp',
'gen_system/SYS_System.cpp']
kernel_env.Append (CPPPATH = ['gen_messaging',
'gen_system',
'#/intern/string',
'#/intern/moto/include'])
kernel_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_kernel', source=source_files)
|