soc-2008-mxcurioni: resolved uint issues (replaced with unsigned int). Still NOT...
[blender.git] / source / blender / render / SConscript
1 #!/usr/bin/python
2 Import ('env')
3
4 cflags=''
5 sources = env.Glob('intern/source/*.c')
6
7 incs = 'intern/include #/intern/guardedalloc ../blenlib ../makesdna'
8 incs += ' extern/include ../blenkernel ../radiosity/extern/include ../imbuf'
9 incs += ' ../quicktime ../include ../../kernel/gen_messaging'
10 incs += ' ../freestyle'
11
12 defs = []
13
14 if env['WITH_BF_YAFRAY'] == 1:
15     incs += ' ../yafray'
16 else:
17     defs.append('DISABLE_YAFRAY')
18
19 if env['WITH_BF_QUICKTIME'] == 1:
20     defs.append('WITH_QUICKTIME')
21     incs += ' ' + env['BF_QUICKTIME_INC']
22
23 if env['WITH_BF_FFMPEG'] == 1:
24     defs.append('WITH_FFMPEG')
25
26 if env['WITH_BF_OPENEXR']:
27     defs.append('WITH_OPENEXR')
28
29 if env['OURPLATFORM']=='linux2':
30     cflags='-pthread'
31
32 env.BlenderLib ( libname = 'blender_render', sources = sources, includes = Split(incs), defines=defs, libtype=['core'], priority=[45], compileflags=cflags )