SCons build system files added.
[blender-staging.git] / source / blender / blenlib / SConscript
1 blenlib_env = Environment ()
2
3 # Import the C flags set in the SConstruct file
4 Import ('cflags')
5 Import ('cxxflags')
6 Import ('defines')
7 Import ('extra_includes')
8 blenlib_env.Append (CCFLAGS = cflags)
9 blenlib_env.Append (CXXFLAGS = cxxflags)
10 blenlib_env.Append (CPPDEFINES = defines)
11
12 source_files = ['intern/BLI_dynstr.c',
13                 'intern/BLI_ghash.c',
14                 'intern/BLI_linklist.c',
15                 'intern/BLI_memarena.c',
16                 'intern/arithb.c',
17                 'intern/dynlib.c',
18                 'intern/fileops.c',
19                 'intern/gsqueue.c',
20                 'intern/matrixops.c',
21                 'intern/noise.c',
22                 'intern/psfont.c',
23                 'intern/rand.c',
24                 'intern/rct.c',
25                 'intern/scanfill.c',
26                 'intern/storage.c',
27                 'intern/time.c',
28                 'intern/util.c',
29                 'intern/vectorops.c',
30                 'intern/freetypefont.c',
31                 'intern/winstuff.c']
32
33
34 blenlib_env.Append (CPPPATH = ['.',
35                                '../makesdna',
36                                '../blenkernel',
37                                '#/intern/guardedalloc',
38                                '../include'])
39
40 blenlib_env.Append (CPPPATH = extra_includes)
41 blenlib_env.Library (target='#/lib/blender_blenlib', source=source_files)