forked from bartvdbraak/blender
21 lines
481 B
Python
21 lines
481 B
Python
|
#!/usr/bin/python
|
||
|
|
||
|
import sys
|
||
|
|
||
|
Import('env')
|
||
|
|
||
|
sources = env.Glob('*.c')
|
||
|
incs = '.'
|
||
|
|
||
|
flags = "-Wall -O3 -ffast-math -std=c99"
|
||
|
|
||
|
oj_env = env.Copy();
|
||
|
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=[10, 10, 300], compileflags = Split(flags))
|