merge with/from trunk at r35190
[blender.git] / source / gameengine / GamePlayer / ghost / SConscript
1 #!/usr/bin/python
2 import sys
3 Import ('env')
4
5 source_files = ['GPG_Application.cpp',
6                 'GPG_Canvas.cpp',
7                 'GPG_ghost.cpp',
8                 'GPG_KeyboardDevice.cpp',
9                 'GPG_System.cpp']
10
11 incs = ['.',
12         '#intern/string',
13         '#intern/ghost',
14         '#intern/guardedalloc',
15         '#intern/moto/include',
16         '#source/gameengine/Rasterizer/RAS_OpenGLRasterizer',
17         '#source/kernel/gen_system',
18         '#source/kernel/gen_messaging',
19         '#source/gameengine/Converter',
20         '#source/blender/imbuf',
21         '#source/gameengine/Ketsji',
22         '#source/blender/blenfont',
23         '#source/blender/blenlib',
24         '#source/blender/blenkernel',
25         '#source/blender/readblenfile',
26         '#source/blender',
27         '#source/blender/include',
28         '#source/blender/makesdna',
29         '#source/blender/makesrna',
30         '#source/gameengine/BlenderRoutines',
31         '#source/gameengine/Rasterizer',
32         '#source/gameengine/GameLogic',
33         '#source/gameengine/Expressions',
34         '#source/gameengine/Network',
35         '#source/gameengine/SceneGraph',
36         '#source/gameengine/Physics/common',
37         '#source/gameengine/Network/LoopBackNetwork',
38         '#source/gameengine/GamePlayer/common',
39         '#source/blender/misc',
40         '#source/blender/blenloader',
41         '#source/blender/gpu',
42         '#extern/glew/include']
43
44 defs = [ 'GLEW_STATIC' ]
45
46 if env['WITH_BF_PYTHON']:
47 <<<<<<< .working
48     incs += Split(env['BF_PYTHON_INC'])
49 else:
50     defs.append('DISABLE_PYTHON')
51 =======
52     incs += Split(env['BF_PYTHON_INC'])
53     defs.append('WITH_PYTHON')
54 >>>>>>> .merge-right.r35190
55
56 if env['WITH_BF_FFMPEG']:
57     defs.append('WITH_FFMPEG')
58
59 env.BlenderLib (libname='ge_player_ghost', sources=source_files, includes = incs, defines = defs, libtype=['player'],priority=[0], cxx_compileflags=env['BGE_CXXFLAGS'])