initial commit of the fluid simulator.
[blender.git] / source / blender / blenkernel / SConscript
1 #!/usr/bin/python
2 Import ('user_options_dict')
3 Import ('library_env')
4
5 blenkernel_env = library_env.Copy ()
6
7 source_files = ['intern/constraint.c',
8                 'intern/depsgraph.c',
9                 'intern/DerivedMesh.c',
10                 'intern/group.c',
11                 'intern/material.c',
12                 'intern/sca.c',
13                 'intern/world.c',
14                 'intern/curve.c',
15                 'intern/mball.c',
16                 'intern/scene.c',
17                 'intern/writeavi.c',
18                 'intern/action.c',
19                 'intern/deform.c',
20                 'intern/image.c',
21                 'intern/mesh.c',
22                 'intern/modifier.c',
23                 'intern/screen.c',
24                 'intern/anim.c',
25                 'intern/displist.c',
26                 'intern/ipo.c',
27                 'intern/nla.c',
28                 'intern/sound.c',
29                 'intern/armature.c',
30                 'intern/effect.c',
31                 'intern/key.c',
32                 'intern/object.c',
33                 'intern/CCGSubSurf.c',
34                 'intern/subsurf_ccg.c',
35                 'intern/blender.c',
36                 'intern/exotic.c',
37                 'intern/lattice.c',
38                 'intern/packedFile.c',
39                 'intern/text.c',
40                 'intern/script.c',
41                 'intern/bmfont.c',
42                 'intern/font.c',
43                 'intern/library.c',
44                 'intern/property.c',
45                 'intern/softbody.c',
46                 'intern/texture.c']
47
48 blenkernel_env.Append (CPPPATH = ['.',
49                                   '../blenkernel',
50                                   '#/intern/guardedalloc',
51                                   '../include',
52                                   '../blenlib',
53                                   '../makesdna',
54                                   '../python',
55                                   '../render/extern/include',
56                                   '../../../intern/decimation/extern',
57                                   '../imbuf',
58                                   '../avi',
59                                   '#/intern/elbeem/extern',
60                                   '#/intern/iksolver/extern',
61                                   '../blenloader'])
62
63 if user_options_dict['USE_INTERNATIONAL'] == 1:
64     blenkernel_env.Append (CPPDEFINES = 'WITH_FREETYPE2')
65
66 #fixme: if user_options_dict['USE_CCGSUBSURFLIB'] == 1:
67 #    blenkernel_env.Append (CPPDEFINES = 'WITH_CCGSUBSURF')
68
69 blenkernel_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_blenkernel', source=source_files)
70
71 SConscript(['bad_level_call_stubs/SConscript'])
72
73 blenkernel_env.Append (CPPPATH = user_options_dict['OPENGL_INCLUDE'])
74 blenkernel_env.Append (CPPPATH = user_options_dict['Z_INCLUDE'])
75 blenkernel_env.Append (CPPPATH = user_options_dict['SDL_INCLUDE'])