== FFMPEG ==
[blender-staging.git] / source / gameengine / VideoTexture / SConscript
1 #!/usr/bin/python
2 import sys
3
4 Import ('env')
5
6 sources = env.Glob('*.cpp')
7
8 incs = '. #source/gameengine/Ketsji #source/gameengine/Expressions'
9 incs += ' #source/gameengine/GameLogic #source/gameengine/SceneGraph #source/gameengine/Rasterizer'
10 incs += ' #source/gameengine/Rasterizer/RAS_OpenGLRasterizer'
11 incs += ' #source/gameengine/BlenderRoutines'
12 incs += ' #source/blender/editors/include #source/blender/blenlib #source/blender/blenkernel'
13 incs += ' #source/blender/makesdna #source/blender/imbuf #source/blender/python #source/blender/python/generic'
14 incs += ' #source/blender/gpu #intern/string #intern/moto/include'
15 incs += ' #intern/guardedalloc #intern/container #extern/glew/include'
16 incs += ' #intern/ffmpeg'
17
18 defs = [] 
19 if env['OURPLATFORM'] in ('win32-vc', 'win64-vc','win32-mingw'):
20     if env['BF_DEBUG']:
21         defs.append('_DEBUG')
22
23 if env['WITH_BF_PYTHON']:
24     incs += ' ' + env['BF_PYTHON_INC']
25     defs.append('WITH_PYTHON')
26
27 if env['WITH_BF_FFMPEG']:
28     defs.append('WITH_FFMPEG')
29     incs += ' ' + env['BF_FFMPEG_INC'] + ' ' + env['BF_PTHREADS_INC']
30
31 env.BlenderLib ( 'ge_videotex', sources, Split(incs), defs, libtype=['core','player'], priority=[340,205], cxx_compileflags=env['BGE_CXXFLAGS'])