merge with/from trunk at r35190
[blender.git] / source / gameengine / Expressions / SConscript
1 #!/usr/bin/python
2 Import ('env')
3
4 sources = env.Glob('*.cpp')
5
6 incs ='. #source/kernel/gen_system #intern/guardedalloc #intern/string #intern/moto/include #source/gameengine/SceneGraph #source/blender/blenloader'
7
8 defs = []
9
10 if env['WITH_BF_PYTHON']:
11 <<<<<<< .working
12     incs += ' ' + env['BF_PYTHON_INC']
13 else:
14     defs.append('DISABLE_PYTHON')
15 =======
16     incs += ' ' + env['BF_PYTHON_INC']
17     defs.append('WITH_PYTHON')
18 >>>>>>> .merge-right.r35190
19
20 if env['WITH_BF_CXX_GUARDEDALLOC']:
21     defs.append('WITH_CXX_GUARDEDALLOC')
22
23 env.BlenderLib ( 'ge_logic_expressions', sources, Split(incs), defs, libtype=['core','player'], priority = [360,80], cxx_compileflags=env['BGE_CXXFLAGS'])