Final merge of HEAD (bf-blender) into the orange branch.
[blender.git] / source / blender / python / SConscript
1 #!/usr/bin/python
2 Import ('extra_includes')
3 Import ('user_options_dict')
4 Import ('library_env')
5
6 python_env = library_env.Copy ()
7
8 source_files = ['BPY_interface.c',
9                 'BPY_menus.c',
10                 'api2_2x/Armature.c',
11                 'api2_2x/BezTriple.c',
12                 'api2_2x/BGL.c',
13                 'api2_2x/Blender.c',
14                 'api2_2x/Bone.c',
15                 'api2_2x/Camera.c',
16                 'api2_2x/CurNurb.c',
17                 'api2_2x/Curve.c',
18                 'api2_2x/Draw.c',
19                 'api2_2x/Effect.c',
20                 'api2_2x/Font.c',
21                 'api2_2x/EXPP_interface.c',
22                 'api2_2x/Ipocurve.c',
23                 'api2_2x/Ipo.c',
24                 'api2_2x/Key.c',
25                 'api2_2x/Lamp.c',
26                 'api2_2x/Lattice.c',
27                 'api2_2x/Library.c',
28                 'api2_2x/MTex.c',
29                 'api2_2x/Material.c',
30                 'api2_2x/Mathutils.c',
31                 'api2_2x/Mesh.c',
32                 'api2_2x/Metaball.c',
33                 'api2_2x/NLA.c',
34                 'api2_2x/Noise.c',
35                 'api2_2x/NMesh.c',
36                 'api2_2x/Object.c',
37                 'api2_2x/Pose.c',
38                 'api2_2x/point.c',
39                 'api2_2x/Registry.c',
40                 'api2_2x/Scene.c',
41                 'api2_2x/Sound.c',
42                 'api2_2x/Sys.c',
43                 'api2_2x/Types.c',
44                 'api2_2x/Window.c',
45                 'api2_2x/World.c',
46                 'api2_2x/Pose.c',
47                 'api2_2x/Image.c',
48                 'api2_2x/Text.c',
49                 'api2_2x/Text3d.c',
50                 'api2_2x/Texture.c',
51                 'api2_2x/Noise.c',
52                 'api2_2x/charRGBA.c',
53                 'api2_2x/constant.c',
54                 'api2_2x/euler.c',
55                 'api2_2x/gen_utils.c',
56                 'api2_2x/logic.c',
57                 'api2_2x/matrix.c',
58                 'api2_2x/quat.c',
59                 'api2_2x/rgbTuple.c',
60                 'api2_2x/sceneRender.c',
61                 'api2_2x/sceneRadio.c',
62                 'api2_2x/sceneTimeLine.c',
63                 'api2_2x/vector.c',
64                 'api2_2x/windowTheme.c']
65
66 python_env.Append (CPPPATH = ['api2_2x',
67                               '../blenkernel',
68                               '../blenlib',
69                               '../blenloader',
70                               '../render/extern/include',
71                               '../radiosity/extern/include',
72                               '../makesdna',
73                               '#/intern/guardedalloc',
74                               '#/intern/bmfont',
75                               '../imbuf',
76                               '../include'])
77
78 python_env.Append (CPPPATH = user_options_dict['PYTHON_INCLUDE'])
79 python_env.Append (CPPPATH = user_options_dict['OPENGL_INCLUDE'])
80 python_env.Append (CPPPATH = extra_includes)
81 python_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_python', source=source_files)