~siretart/ubuntu/utopic/blender/libav10

« back to all changes in this revision

Viewing changes to source/gameengine/Ketsji/SConscript

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2012-07-23 08:54:18 UTC
  • mfrom: (14.2.16 sid)
  • mto: (14.2.19 sid)
  • mto: This revision was merged to the branch mainline in revision 42.
  • Revision ID: package-import@ubuntu.com-20120723085418-9foz30v6afaf5ffs
Tags: 2.63a-2
* debian/: Cycles support added (Closes: #658075)
  For now, this top feature has been enabled only
  on [any-amd64 any-i386] architectures because
  of OpenImageIO failing on all others
* debian/: scripts installation path changed
  from /usr/lib to /usr/share:
  + debian/patches/: patchset re-worked for path changing
  + debian/control: "Breaks" field added on yafaray-exporter

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
sources = env.Glob('*.cpp')
7
7
defs = [ 'GLEW_STATIC' ]
8
8
 
9
 
incs = '. #source/blender/python/generic' # Only for Mathutils! and bpy_internal_import.h, be very careful
 
9
incs = '. #source/blender/python/generic' # Only for bpy_internal_import.h, be very careful
 
10
incs += ' #source/blender/python/mathutils' # Only for mathutils, be very careful
10
11
 
11
 
incs += ' #source/kernel/gen_system #intern/string #intern/guardedalloc'
 
12
incs += ' #intern/string #intern/guardedalloc #intern/container'
12
13
incs += ' #source/gameengine/Rasterizer/RAS_OpenGLRasterizer'
13
 
incs += ' #intern/audaspace/intern #source/gameengine/Converter'
 
14
incs += ' #intern/audaspace/intern #intern/audaspace/FX #source/gameengine/Converter'
14
15
incs += ' #source/gameengine/BlenderRoutines #source/blender/imbuf #intern/moto/include'
15
 
incs += ' #source/gameengine/Ketsji #source/gameengine/Ketsji/KXNetwork #source/blender/blenlib'
 
16
incs += ' #source/gameengine/Ketsji #source/gameengine/Ketsji/KXNetwork #source/blender/blenlib #source/blender/blenfont'
16
17
incs += ' #source/blender/blenkernel #source/blender #source/blender/editors/include'
17
 
incs += ' #source/blender/makesdna #source/blender/python #source/gameengine/Rasterizer'
 
18
incs += ' #source/blender/makesdna #source/blender/makesrna #source/blender/python #source/gameengine/Rasterizer'
18
19
incs += ' #source/gameengine/GameLogic #source/gameengine/Expressions #source/gameengine/Network'
19
 
incs += ' #source/gameengine/SceneGraph #source/gameengine/Physics/common #source/gameengine/Physics/Bullet'
 
20
incs += ' #source/gameengine/SceneGraph #source/gameengine/Physics/common'
20
21
incs += ' #source/gameengine/Physics/Dummy'
21
22
incs += ' #source/blender/misc #source/blender/blenloader #extern/glew/include #source/blender/gpu'
 
23
incs += ' #extern/recastnavigation/Recast/Include #extern/recastnavigation/Detour/Include'
22
24
 
23
25
incs += ' ' + env['BF_BULLET_INC']
24
26
incs += ' ' + env['BF_OPENGL_INC']
25
27
 
26
28
if  env['WITH_BF_SDL']:
27
29
    incs += ' ' + env['BF_SDL_INC']
28
 
else:
29
 
        defs.append('DISABLE_SDL')
 
30
    defs.append('WITH_SDL')
30
31
 
31
32
if env['WITH_BF_PYTHON']:
32
 
        incs += ' ' + env['BF_PYTHON_INC']
33
 
else:
34
 
        defs.append('DISABLE_PYTHON')
 
33
    incs += ' ' + env['BF_PYTHON_INC']
 
34
    defs.append('WITH_PYTHON')
35
35
 
36
36
if env['WITH_BF_FFMPEG']:
37
 
        defs.append('WITH_FFMPEG')
38
 
        
39
 
if env['OURPLATFORM'] in ('win32-vc', 'win64-vc', 'win32-mingw'):
40
 
        if env['BF_DEBUG']:
41
 
                defs.append('_DEBUG') # for Python
42
 
 
43
 
env.BlenderLib ( 'bf_ketsji', sources, Split(incs), defs, libtype=['core','player'], priority=[320,45], cxx_compileflags=env['BGE_CXXFLAGS'])
 
37
    defs.append('WITH_FFMPEG')
 
38
 
 
39
if env['OURPLATFORM'] in ('win32-vc', 'win64-vc', 'win32-mingw', 'win64-mingw'):
 
40
    if env['BF_DEBUG']:
 
41
        defs.append('_DEBUG') # for Python
 
42
 
 
43
if env['WITH_BF_CXX_GUARDEDALLOC']:
 
44
    defs.append('WITH_CXX_GUARDEDALLOC')
 
45
 
 
46
if env['WITH_BF_BULLET']:
 
47
    defs.append('USE_BULLET')
 
48
    incs += ' #source/gameengine/Physics/Bullet'
 
49
 
 
50
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
 
51
    incs += ' ' + env['BF_PTHREADS_INC']
 
52
 
 
53
env.BlenderLib ( 'ge_logic_ketsji', sources, Split(incs), defs, libtype=['core','player'], priority=[320,45], cxx_compileflags=env['BGE_CXXFLAGS'])