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