forked from bartvdbraak/blender
2d884fc035
* Pepper depends on ffmpeg 0.7.1 or higher now, windows and mac build systems set to ffmpeg-0.8 * Fixed orientation retrieval in OpenAL device code. * Added stopAll() method to AUD_IDevice (also for Python) and call it on BGE exit * Changed BGE to use audaspace via native C++ instead over the C API. * Made AUD_SequencerFactory and AUD_SequencerEntry thread safe. * Changed sound caching into a flag which fixes problems on file loading, especially with undo. * Removed unused parameter from sound_mute_scene_sound * Fixed bug: changing FPS didn't update the sequencer sound positions. * Fixed bug: Properties of sequencer strips weren't set correctly. * Minor warning fixes.
51 lines
2.0 KiB
Python
51 lines
2.0 KiB
Python
#!/usr/bin/python
|
|
import sys
|
|
|
|
Import ('env')
|
|
|
|
sources = env.Glob('*.cpp')
|
|
defs = [ 'GLEW_STATIC' ]
|
|
|
|
incs = '. #source/blender/python/generic' # Only for bpy_internal_import.h, be very careful
|
|
incs += ' #source/blender/python/mathutils' # Only for mathutils, be very careful
|
|
|
|
incs += ' #intern/string #intern/guardedalloc #intern/container'
|
|
incs += ' #source/gameengine/Rasterizer/RAS_OpenGLRasterizer'
|
|
incs += ' #intern/audaspace/intern #intern/audaspace/FX #source/gameengine/Converter'
|
|
incs += ' #source/gameengine/BlenderRoutines #source/blender/imbuf #intern/moto/include'
|
|
incs += ' #source/gameengine/Ketsji #source/gameengine/Ketsji/KXNetwork #source/blender/blenlib #source/blender/blenfont'
|
|
incs += ' #source/blender/blenkernel #source/blender #source/blender/editors/include'
|
|
incs += ' #source/blender/makesdna #source/blender/makesrna #source/blender/python #source/gameengine/Rasterizer'
|
|
incs += ' #source/gameengine/GameLogic #source/gameengine/Expressions #source/gameengine/Network'
|
|
incs += ' #source/gameengine/SceneGraph #source/gameengine/Physics/common'
|
|
incs += ' #source/gameengine/Physics/Dummy'
|
|
incs += ' #source/blender/misc #source/blender/blenloader #extern/glew/include #source/blender/gpu'
|
|
|
|
incs += ' ' + env['BF_BULLET_INC']
|
|
incs += ' ' + env['BF_OPENGL_INC']
|
|
|
|
if env['WITH_BF_SDL']:
|
|
incs += ' ' + env['BF_SDL_INC']
|
|
else:
|
|
defs.append('DISABLE_SDL')
|
|
|
|
if env['WITH_BF_PYTHON']:
|
|
incs += ' ' + env['BF_PYTHON_INC']
|
|
defs.append('WITH_PYTHON')
|
|
|
|
if env['WITH_BF_FFMPEG']:
|
|
defs.append('WITH_FFMPEG')
|
|
|
|
if env['OURPLATFORM'] in ('win32-vc', 'win64-vc', 'win32-mingw'):
|
|
if env['BF_DEBUG']:
|
|
defs.append('_DEBUG') # for Python
|
|
|
|
if env['WITH_BF_CXX_GUARDEDALLOC']:
|
|
defs.append('WITH_CXX_GUARDEDALLOC')
|
|
|
|
if env['WITH_BF_BULLET']:
|
|
defs.append('USE_BULLET')
|
|
incs += ' #source/gameengine/Physics/Bullet'
|
|
|
|
env.BlenderLib ( 'ge_logic_ketsji', sources, Split(incs), defs, libtype=['core','player'], priority=[320,45], cxx_compileflags=env['BGE_CXXFLAGS'])
|