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

SConscript « makesrna « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 72dc6be683c291d0d9ddd47ec41c5677602c83d1 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/usr/bin/python
Import ('env')

objs = []

o = SConscript('intern/SConscript')
objs += o

incs = '#/intern/guardedalloc ../blenkernel ../blenlib ../makesdna intern .'
incs += ' ../windowmanager ../editors/include ../imbuf ../ikplugin'
incs += ' ../render/extern/include'

defs = []

if env['WITH_BF_OPENEXR']:
	defs.append('WITH_OPENEXR')

if env['WITH_BF_OPENJPEG']:
	defs.append('WITH_OPENJPEG')

if env['WITH_BF_DDS']:
	defs.append('WITH_DDS')

if env['WITH_BF_FFMPEG']:
	defs.append('WITH_FFMPEG')
	incs += ' ' + env['BF_FFMPEG_INC']

if env['WITH_BF_OGG']:
	defs.append('WITH_OGG')

if env['WITH_BF_QUICKTIME']:
	defs.append('WITH_QUICKTIME')

if env['WITH_BF_LCMS']:
	defs.append('WITH_LCMS')

if env['WITH_BF_GAMEENGINE']:
	defs.append('GAMEBLENDER=1')

if env['BF_UNIT_TEST']:
	defs.append('UNIT_TEST')


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']

env.BlenderLib ( 'bf_rna', objs, Split(incs), defines=defs, libtype=['core','player'], priority = [165,20] )