SCons build system files added.
[blender.git] / source / blender / blenkernel / SConscript
1 blenkernel_env = Environment()
2
3 # Import the C flags set in the SConstruct file
4 Import ('cflags')
5 Import ('cxxflags')
6 Import ('defines')
7 blenkernel_env.Append (CCFLAGS = cflags)
8 blenkernel_env.Append (CXXFLAGS = cxxflags)
9 blenkernel_env.Append (CPPDEFINES = defines)
10
11 source_files = ['intern/constraint.c',
12                 'intern/group.c',
13                 'intern/material.c',
14                 'intern/sca.c',
15                 'intern/world.c',
16                 'intern/curve.c',
17                 'intern/ika.c',
18                 'intern/mball.c',
19                 'intern/scene.c',
20                 'intern/writeavi.c',
21                 'intern/action.c',
22                 'intern/deform.c',
23                 'intern/image.c',
24                 'intern/mesh.c',
25                 'intern/screen.c',
26                 'intern/anim.c',
27                 'intern/displist.c',
28                 'intern/ipo.c',
29                 'intern/nla.c',
30                 'intern/sound.c',
31                 'intern/armature.c',
32                 'intern/effect.c',
33                 'intern/key.c',
34                 'intern/object.c',
35                 'intern/subsurf.c',
36                 'intern/blender.c',
37                 'intern/exotic.c',
38                 'intern/lattice.c',
39                 'intern/packedFile.c',
40                 'intern/text.c',
41                 'intern/script.c',
42                 'intern/bmfont.c',
43                 'intern/font.c',
44                 'intern/library.c',
45                 'intern/property.c',
46                 'intern/texture.c']
47
48 blenkernel_env.Append (CPPPATH = ['.',
49                                   '#/intern/guardedalloc',
50                                   '../include',
51                                   '../blenlib',
52                                   '../makesdna',
53                                   '../python',
54                                   '../render/extern/include',
55                                   '../imbuf',
56                                   '../avi',
57                                   '#/intern/iksolver/extern',
58                                   '../blenloader'])
59
60 blenkernel_env.Library (target='#/lib/blender_blenkernel', source=source_files)