Merged 15170:15635 from trunk (no conflicts or even merges)
[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/bmfont',
16         '#intern/moto/include',
17         '#intern/SoundSystem',
18         '#source/gameengine/Rasterizer/RAS_OpenGLRasterizer',
19         '#source/kernel/gen_system',
20         '#source/kernel/gen_messaging',
21         '#source/gameengine/Converter',
22         '#source/blender/imbuf',
23         '#source/gameengine/Ketsji',
24         '#source/blender/blenlib',
25         '#source/blender/blenkernel',
26         '#source/blender/readblenfile',
27         '#source/blender',
28         '#source/blender/include',
29         '#source/blender/makesdna',
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/Physics/Sumo',
38         '#source/gameengine/Physics/Sumo/Fuzzics/include',
39         '#source/gameengine/Network/LoopBackNetwork',
40         '#source/gameengine/GamePlayer/common',
41         '#source/blender/misc',
42         '#source/blender/blenloader',
43         '#extern/glew/include']
44
45 incs += Split(env['BF_PYTHON_INC'])
46 incs += Split(env['BF_SOLID_INC'])
47 cflags = []
48 if env['OURPLATFORM']=='win32-vc':
49     cflags = ['/GR']
50
51 if env['WITH_BF_GLEXT'] == 1:
52         env['CPPFLAGS'].append('-DWITH_GLEXT')
53
54
55 env.BlenderLib (libname='gp_ghost', sources=source_files, includes = incs, defines = [], libtype='player',priority=0, compileflags=cflags)