SCons build system files added.
[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 kernel_env.Append (CCFLAGS = cflags)
8 kernel_env.Append (CXXFLAGS = cxxflags)
9 kernel_env.Append (CPPDEFINES = defines)
10
11 source_files = ['gen_messaging/intern/messaging.c',
12                 'gen_system/GEN_HashedPtr.cpp',
13                 'gen_system/GEN_Matrix4x4.cpp',
14                 'gen_system/SYS_SingletonSystem.cpp',
15                 'gen_system/SYS_System.cpp']
16
17 kernel_env.Append (CPPPATH = ['gen_messaging',
18                               'gen_system',
19                               '#/intern/string',
20                               '#/intern/moto/include'])
21
22 kernel_env.Library (target='#/lib/blender_kernel', source=source_files)