~siretart/ubuntu/utopic/blender/libav10

« back to all changes in this revision

Viewing changes to source/blender/windowmanager/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:
1
1
#!/usr/bin/python
2
2
Import ('env')
 
3
import os
3
4
 
4
5
sources = env.Glob('intern/*.c')
5
6
 
8
9
 
9
10
incs = '. ../editors/include ../python ../makesdna ../blenlib ../blenkernel'
10
11
incs += ' ../nodes ../imbuf ../blenloader ../render/extern/include'
11
 
incs += ' ../radiosity/extern/include ../../kernel/gen_system'
12
 
incs += ' ../makesrna ../gpu ../blenfont'
 
12
incs += ' ../radiosity/extern/include'
 
13
incs += ' ../makesrna ../gpu ../blenfont ../bmesh'
13
14
 
14
15
incs += ' #/intern/guardedalloc #/intern/memutil #/intern/ghost'
15
16
incs += ' #/intern/elbeem #/extern/glew/include'
 
17
incs += ' #source/gameengine/BlenderRoutines'
 
18
 
 
19
incs += ' ' + env['BF_ZLIB_INC']
16
20
 
17
21
defs = [ 'GLEW_STATIC' ]
18
22
 
19
 
if not env['WITH_BF_PYTHON']:
20
 
        defs.append('DISABLE_PYTHON')
 
23
if env['WITH_BF_PYTHON']:
 
24
    defs.append('WITH_PYTHON')
21
25
 
22
26
if env['WITH_BF_COLLADA']:
23
 
        defs.append('WITH_COLLADA')
24
 
 
25
 
if env['OURPLATFORM'] == 'linux2':
26
 
        cflags='-pthread'
27
 
        incs += ' ../../../extern/binreloc/include'
28
 
 
29
 
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
30
 
        incs += ' ' + env['BF_PTHREADS_INC']
31
 
 
32
 
if env['WITH_GHOST_COCOA']:
33
 
        sources.remove('intern/wm_apple.c')
 
27
    defs.append('WITH_COLLADA')
 
28
 
 
29
if env['OURPLATFORM'] == 'linux':
 
30
    cflags='-pthread'
 
31
    incs += ' ../../../extern/binreloc/include'
 
32
 
 
33
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
 
34
    incs += ' ' + env['BF_PTHREADS_INC']
 
35
    incs += ' ../../intern/utfconv'
 
36
 
 
37
if env['OURPLATFORM'] != 'darwin' or env['WITH_GHOST_COCOA']:
 
38
    sources.remove('intern' + os.sep + 'wm_apple.c')
34
39
 
35
40
if env['BF_BUILDINFO']:
36
 
        defs.append('NAN_BUILDINFO')
 
41
    defs.append('WITH_BUILDINFO')
 
42
 
 
43
if env['WITH_BF_INTERNATIONAL']:
 
44
    defs.append('WITH_INTERNATIONAL')
37
45
 
38
46
env.BlenderLib ( 'bf_windowmanager', sources, Split(incs), defines=defs, libtype=['core'], priority=[5] )