rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / gameengine / Ketsji / KXNetwork / SConscript
1 #!/usr/bin/python
2 Import ('env')
3
4 sources = env.Glob('*.cpp')
5
6 incs = '. #source/kernel/gen_system #intern/string #intern/moto/include #source/gameengine/Ketsji'
7 incs += ' #source/gameengine/GameLogic #source/gameengine/Expressions'
8 incs += ' #source/gameengine/Network #source/gameengine/SceneGraph'
9
10 defs = []
11
12 if env['WITH_BF_PYTHON']:
13     incs += ' ' + env['BF_PYTHON_INC']
14     defs.append('WITH_PYTHON')
15
16 env.BlenderLib ( 'bf_network', Split(sources), Split(incs), defines=defs,libtype=['core','player'], priority=[400,125], cxx_compileflags=env['BGE_CXXFLAGS'])