2004-05-16 13:07:20 +00:00
|
|
|
#!/usr/bin/python
|
2004-04-08 10:40:12 +00:00
|
|
|
import sys
|
2006-02-04 14:15:10 +00:00
|
|
|
Import ('env')
|
2004-04-08 10:40:12 +00:00
|
|
|
|
|
|
|
source_files = ['GPG_Application.cpp',
|
2006-02-04 14:15:10 +00:00
|
|
|
'GPG_Canvas.cpp',
|
|
|
|
'GPG_ghost.cpp',
|
|
|
|
'GPG_KeyboardDevice.cpp',
|
|
|
|
'GPG_System.cpp']
|
2004-04-08 10:40:12 +00:00
|
|
|
|
2006-02-04 14:15:10 +00:00
|
|
|
incs = ['.',
|
|
|
|
'#intern/string',
|
|
|
|
'#intern/ghost',
|
|
|
|
'#intern/guardedalloc',
|
|
|
|
'#intern/bmfont',
|
|
|
|
'#intern/moto/include',
|
|
|
|
'#intern/SoundSystem',
|
|
|
|
'#source/gameengine/Rasterizer/RAS_OpenGLRasterizer',
|
|
|
|
'#source/kernel/gen_system',
|
|
|
|
'#source/kernel/gen_messaging',
|
|
|
|
'#source/gameengine/Converter',
|
|
|
|
'#source/blender/imbuf',
|
|
|
|
'#source/gameengine/Ketsji',
|
|
|
|
'#source/blender/blenlib',
|
|
|
|
'#source/blender/blenkernel',
|
|
|
|
'#source/blender/readblenfile',
|
|
|
|
'#source/blender',
|
2007-12-29 19:04:45 +00:00
|
|
|
'#source/blender/editors/include',
|
2006-02-04 14:15:10 +00:00
|
|
|
'#source/blender/makesdna',
|
|
|
|
'#source/gameengine/Rasterizer',
|
|
|
|
'#source/gameengine/GameLogic',
|
|
|
|
'#source/gameengine/Expressions',
|
|
|
|
'#source/gameengine/Network',
|
|
|
|
'#source/gameengine/SceneGraph',
|
|
|
|
'#source/gameengine/Physics/common',
|
|
|
|
'#source/gameengine/Physics/Sumo',
|
|
|
|
'#source/gameengine/Physics/Sumo/Fuzzics/include',
|
|
|
|
'#source/gameengine/Network/LoopBackNetwork',
|
|
|
|
'#source/gameengine/GamePlayer/common',
|
|
|
|
'#source/blender/misc',
|
|
|
|
'#source/blender/blenloader']
|
2004-04-08 10:40:12 +00:00
|
|
|
|
2006-02-04 14:15:10 +00:00
|
|
|
incs += Split(env['BF_PYTHON_INC'])
|
|
|
|
incs += Split(env['BF_SOLID_INC'])
|
|
|
|
cflags = []
|
2006-11-06 08:21:53 +00:00
|
|
|
if env['OURPLATFORM']=='win32-vc':
|
2006-02-04 14:15:10 +00:00
|
|
|
cflags = ['/GR']
|
2004-04-08 10:40:12 +00:00
|
|
|
|
2006-02-07 21:24:36 +00:00
|
|
|
env.BlenderLib (libname='gp_ghost', sources=source_files, includes = incs, defines = [], libtype='player',priority=0, compileflags=cflags)
|