blender/extern/libopenjpeg/SConscript
Nathan Letwory eb186d18dc 2.5 / SCons
Blender builds and links on Linux. For now without BGE and its player, 
but that will come. Priorities are still a mess, so expect more commits 
soon.
2008-12-23 20:13:31 +00:00

25 lines
559 B
Python

#!/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=['extern'],
priority=[10], compileflags = flags)