forked from bartvdbraak/blender
4782522379
Thanks!
32 lines
1.2 KiB
Python
32 lines
1.2 KiB
Python
#!/usr/bin/python
|
|
import sys
|
|
|
|
Import ('env')
|
|
|
|
sources = env.Glob('*.cpp')
|
|
|
|
incs = '. #source/gameengine/Ketsji #source/gameengine/Expressions'
|
|
incs += ' #source/gameengine/GameLogic #source/gameengine/SceneGraph #source/gameengine/Rasterizer'
|
|
incs += ' #source/gameengine/Rasterizer/RAS_OpenGLRasterizer'
|
|
incs += ' #source/gameengine/BlenderRoutines'
|
|
incs += ' #source/blender/editors/include #source/blender/blenlib #source/blender/blenkernel'
|
|
incs += ' #source/blender/makesdna #source/blender/imbuf #source/blender/python #source/blender/python/generic'
|
|
incs += ' #source/blender/gpu #intern/string #intern/moto/include'
|
|
incs += ' #intern/guardedalloc #intern/container #extern/glew/include'
|
|
incs += ' #intern/ffmpeg'
|
|
|
|
defs = []
|
|
if env['OURPLATFORM'] in ('win32-vc', 'win64-vc','win32-mingw', 'win64-mingw'):
|
|
if env['BF_DEBUG']:
|
|
defs.append('_DEBUG')
|
|
|
|
if env['WITH_BF_PYTHON']:
|
|
incs += ' ' + env['BF_PYTHON_INC']
|
|
defs.append('WITH_PYTHON')
|
|
|
|
if env['WITH_BF_FFMPEG']:
|
|
defs.append('WITH_FFMPEG')
|
|
incs += ' ' + env['BF_FFMPEG_INC'] + ' ' + env['BF_PTHREADS_INC']
|
|
|
|
env.BlenderLib ( 'ge_videotex', sources, Split(incs), defs, libtype=['core','player'], priority=[340,205], cxx_compileflags=env['BGE_CXXFLAGS'])
|