blob: 7100ecb37fd64e0c70dd148a2c1035ec3c9f9bd9 (
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
|
#!/usr/bin/python
import sys
Import('env')
sources = env.Glob('*.c')
incs = '.'
if env['OURPLATFORM'] == 'win32-vc':
flags = []
else:
flags = ['-Wall', '-O3', '-ffast-math', '-std=c99']
oj_env = env.Clone()
if not env['OURPLATFORM'] == 'win32-vc':
oj_env.Replace(CCFLAGS = '')
oj_env.Replace(BF_DEBUG_FLAGS = '')
oj_env.BlenderLib ( libname='extern_openjpeg',
sources=sources, includes=Split(incs),
defines=[],
libtype=['core','intern','player'],
priority=[5, 10, 200], compileflags = flags)
|