This patch spawns from this game engine issue:
[blender-staging.git] / source / gameengine / Rasterizer / SConscript
1 #!/usr/bin/python
2 Import ('env')
3
4 sources = env.Glob('*.cpp')
5
6 if env['WITH_BF_GLEXT'] == 1:
7         env['CPPFLAGS'].append('-DWITH_GLEXT')
8
9
10 incs = '. #source/kernel/gen_system #intern/string #intern/moto/include'
11
12 if env['OURPLATFORM']=='win32-vc':
13         cflags = []
14         cflags.append('/Ox')
15         env.BlenderLib ( 'bf_rasterizer', sources, Split(incs), [], libtype=['game','player'], priority=[35,115], compileflags = cflags )
16 else:
17         env.BlenderLib ( 'bf_rasterizer', sources, Split(incs), [], libtype=['game','player'], priority=[35,115] )