d5e1f081d21dc82c3e0f02bd4abd1728bca454db
[blender.git] / source / gameengine / GamePlayer / common / SConscript
1 #!/usr/bin/python
2 import sys
3 Import ('env')
4
5
6 source_files = ['bmfont.cpp',
7                 'GPC_Canvas.cpp',
8                 'GPC_Engine.cpp',
9                 'GPC_KeyboardDevice.cpp',
10                 'GPC_MouseDevice.cpp',
11                 'GPC_RawImage.cpp',
12                 'GPC_RawLoadDotBlendArray.cpp',
13                 'GPC_RawLogoArrays.cpp',
14                 'GPC_RenderTools.cpp',
15                 'GPC_System.cpp']
16
17 incs = ['.',
18         '#intern/string',
19         '#intern/ghost',
20         '#intern/guardedalloc',
21         '#intern/moto/include',
22         '#intern/container',
23         '#source/gameengine/Rasterizer/RAS_OpenGLRasterizer',
24         '#source/gameengine/Converter',
25         '#source/gameengine/BlenderRoutines',
26         '#source/blender/imbuf',
27         '#source/gameengine/Ketsji',
28         '#source/blender/blenlib',
29         '#source/blender/blenfont',
30         '#source/blender/blenkernel',
31         '#source/blender',
32         '#source/blender/include',
33         '#source/blender/makesdna',
34         '#source/gameengine/BlenderRoutines',
35         '#source/gameengine/Rasterizer',
36         '#source/gameengine/GameLogic',
37         '#source/gameengine/Expressions',
38         '#source/gameengine/Network',
39         '#source/gameengine/SceneGraph',
40         '#source/gameengine/Physics/common',
41         '#source/gameengine/Network/LoopBackNetwork',
42         '#source/gameengine/GamePlayer/ghost',
43         '#source/blender/misc',
44         '#source/blender/blenloader',
45         '#source/blender/gpu',
46         '#extern/glew/include']
47
48 defs = [ 'GLEW_STATIC' ]
49
50 if env['WITH_BF_PYTHON']:
51     incs += Split(env['BF_PYTHON_INC'])
52     defs.append('WITH_PYTHON')
53
54 incs += Split(env['BF_PNG_INC'])
55 incs += Split(env['BF_ZLIB_INC'])
56
57 env.BlenderLib (libname='ge_player_common', sources=source_files, includes=incs, defines = defs, libtype=['player'], priority=[5], cxx_compileflags=env['BGE_CXXFLAGS'])