Welcome to mirror list, hosted at ThFree Co, Russian Federation.

SConscript « screen « editors « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 703a16f753b23b4e62121f5fd13faf43c9349c38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/python
Import ('env')

sources = env.Glob('*.c')

incs = '../include ../../blenlib ../../blenkernel ../../blenfont ../../makesdna ../../imbuf'
incs += ' ../../blenloader ../../windowmanager ../../python ../../makesrna ../../gpu'
incs += ' ../../render/extern/include'
incs += ' #/intern/guardedalloc #/extern/glew/include'

defs = ''

if not env['WITH_BF_PYTHON']:
    defs += 'DISABLE_PYTHON'
if env['WITH_BF_OPENEXR']:
	defs += ' WITH_OPENEXR'

if env['OURPLATFORM'] == 'linux2':
	cflags='-pthread'
    	incs += ' ../../../extern/binreloc/include'

if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
	incs += ' ' + env['BF_PTHREADS_INC']

if env['OURPLATFORM'] == 'darwin':
    if env['WITH_BF_OPENMP']:
       defs += ' PARALLEL=1'

env.BlenderLib ( 'bf_editors_screen', sources, Split(incs), Split(defs), libtype=['core'], priority=[105] )