2004-01-04 21:11:59 +00:00
|
|
|
kernel_env = Environment ()
|
|
|
|
|
|
|
|
|
|
# Import the C flags set in the SConstruct file
|
|
|
|
|
Import ('cflags')
|
|
|
|
|
Import ('cxxflags')
|
|
|
|
|
Import ('defines')
|
2004-02-15 19:25:32 +00:00
|
|
|
Import ('user_options_dict')
|
2004-01-04 21:11:59 +00:00
|
|
|
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'])
|
|
|
|
|
|
2004-02-15 19:25:32 +00:00
|
|
|
kernel_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_kernel', source=source_files)
|