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

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

sources = Split('BPY_interface.c BPY_menus.c') + env.Glob('api2_2x/*.c')

incs = 'api2_2x ../blenkernel ../blenlib ../blenloader'
incs += ' ../render/extern/include ../radiosity/extern/include'
incs += ' ../makesdna #intern/guardedalloc #intern/bmfont ../imbuf ../include'
incs += ' ' + env['BF_PYTHON_INC']
incs += ' ' + env['BF_OPENGL_INC']

defs = []

if env['WITH_BF_QUICKTIME']==1:
	incs += ' ' + env['BF_QUICKTIME_INC']
	defs.append('WITH_QUICKTIME')
	
if env['WITH_BF_OPENEXR'] == 1:
    defs.append('WITH_OPENEXR')

env.BlenderLib ( libname='blender_python', sources = Split(sources), includes = Split(incs), defines = defs, libtype=['core','game2'], priority = [60,115] )