* tweak linking priorities - should help for GCC users
[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/editors/include',
29                 '#source/blender/makesdna',
30                 '#source/gameengine/Rasterizer',
31                 '#source/gameengine/GameLogic',
32                 '#source/gameengine/Expressions',
33                 '#source/gameengine/Network',
34                 '#source/gameengine/SceneGraph',
35                 '#source/gameengine/Physics/common',
36                 '#source/gameengine/Physics/Sumo',
37                 '#source/gameengine/Physics/Sumo/Fuzzics/include',
38                 '#source/gameengine/Network/LoopBackNetwork',
39                 '#source/gameengine/GamePlayer/common',
40                 '#source/blender/misc',
41                 '#source/blender/blenloader']
42
43 incs += Split(env['BF_PYTHON_INC'])
44 incs += Split(env['BF_SOLID_INC'])
45 cflags = []
46 if env['OURPLATFORM']=='win32-vc':
47         cflags = ['/GR']
48
49 env.BlenderLib (libname='gp_ghost', sources=source_files, includes = incs, defines = [], libtype='player',priority=5, compileflags=cflags)