Welcome to mirror list, hosted at ThFree Co, Russian Federation.

SConscript « python « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 66b359bc61e8b53c2289e60b584936e79c0328fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
python_env = Environment ()

# Import the C flags set in the SConstruct file
Import ('cflags')
Import ('cxxflags')
Import ('defines')
Import ('python_include')
Import ('extra_includes')
Import ('user_options_dict')
python_env.Append (CCFLAGS = cflags)
python_env.Append (CXXFLAGS = cxxflags)
python_env.Append (CPPDEFINES = defines)

source_files = ['BPY_interface.c',
                'BPY_menus.c',
                'api2_2x/Blender.c',
                'api2_2x/Sys.c',
                'api2_2x/Registry.c',
                'api2_2x/Scene.c',
                'api2_2x/Types.c',
                'api2_2x/Object.c',
                'api2_2x/NMesh.c',
                'api2_2x/Material.c',
                'api2_2x/Camera.c',
                'api2_2x/World.c',
                'api2_2x/Lamp.c',
                'api2_2x/Lattice.c',
                'api2_2x/Curve.c',
                'api2_2x/Armature.c',
                'api2_2x/Bone.c',
                'api2_2x/Ipo.c',
                'api2_2x/Ipocurve.c',
                'api2_2x/BezTriple.c',
                'api2_2x/Metaball.c',
                'api2_2x/Effect.c',
                'api2_2x/Particle.c',
                'api2_2x/Wave.c',
                'api2_2x/Build.c',
                'api2_2x/Image.c',
                'api2_2x/Window.c',
                'api2_2x/Draw.c',
                'api2_2x/BGL.c',
                'api2_2x/Text.c',
                'api2_2x/Texture.c',
                'api2_2x/MTex.c',
                'api2_2x/vector.c',
                'api2_2x/constant.c',
                'api2_2x/matrix.c',
                'api2_2x/rgbTuple.c',
                'api2_2x/gen_utils.c',
                'api2_2x/EXPP_interface.c']

python_env.Append (CPPPATH = ['api2_2x',
                              '../blenkernel',
                              '../blenlib',
                              '../makesdna',
                              '#/intern/guardedalloc',
                              '#/intern/bmfont',
                              '../imbuf',
                              '../include',
                              python_include])

python_env.Append (CPPPATH = extra_includes)
python_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_python', source=source_files)