forked from bartvdbraak/blender
55 lines
1.7 KiB
Python
55 lines
1.7 KiB
Python
#!/usr/bin/python
|
|
import sys
|
|
Import ('env')
|
|
|
|
source_files = ['GPG_Application.cpp',
|
|
'GPG_Canvas.cpp',
|
|
'GPG_ghost.cpp',
|
|
'GPG_KeyboardDevice.cpp',
|
|
'GPG_System.cpp']
|
|
|
|
incs = ['.',
|
|
'#intern/string',
|
|
'#intern/ghost',
|
|
'#intern/guardedalloc',
|
|
'#intern/moto/include',
|
|
'#intern/container',
|
|
'#source/gameengine/Rasterizer/RAS_OpenGLRasterizer',
|
|
'#source/gameengine/BlenderRoutines',
|
|
'#source/gameengine/Converter',
|
|
'#source/blender/imbuf',
|
|
'#source/gameengine/Ketsji',
|
|
'#source/blender/blenfont',
|
|
'#source/blender/blenlib',
|
|
'#source/blender/blenkernel',
|
|
'#source/blender',
|
|
'#source/blender/include',
|
|
'#source/blender/makesdna',
|
|
'#source/blender/makesrna',
|
|
'#source/gameengine/BlenderRoutines',
|
|
'#source/gameengine/Rasterizer',
|
|
'#source/gameengine/GameLogic',
|
|
'#source/gameengine/Expressions',
|
|
'#source/gameengine/Network',
|
|
'#source/gameengine/SceneGraph',
|
|
'#source/gameengine/Physics/common',
|
|
'#source/gameengine/Network/LoopBackNetwork',
|
|
'#source/gameengine/GamePlayer/common',
|
|
'#source/blender/misc',
|
|
'#source/blender/blenloader',
|
|
'#source/blender/gpu',
|
|
'#extern/glew/include']
|
|
|
|
incs.append(env['BF_PTHREADS_INC'])
|
|
|
|
defs = [ 'GLEW_STATIC' ]
|
|
|
|
if env['WITH_BF_PYTHON']:
|
|
incs += Split(env['BF_PYTHON_INC'])
|
|
defs.append('WITH_PYTHON')
|
|
|
|
if env['WITH_BF_FFMPEG']:
|
|
defs.append('WITH_FFMPEG')
|
|
|
|
env.BlenderLib (libname='ge_player_ghost', sources=source_files, includes = incs, defines = defs, libtype=['player'],priority=[0], cxx_compileflags=env['BGE_CXXFLAGS'])
|