blender/extern/libredcode/SConscript

29 lines
672 B
Python
Raw Normal View History

#!/usr/bin/python
import sys
import os
import shutil
Import('env')
sources = env.Glob('*.c')
incs = '. ../libopenjpeg'
root = "extern/libredcode"
if not os.path.isdir(root + "/include"):
os.mkdir(root + "/include");
if not os.path.isdir(root + "/include/redcode"):
os.mkdir(root + "/include/redcode");
for h in env.Glob('*.h'):
shutil.copyfile(root + "/" + h,
root + "/include/redcode/" + h)
env.BlenderLib ( libname='extern_redcode',
sources=sources, includes=Split(incs),
defines=[],
libtype=['core','intern','player'],
priority=[5, 5, 200], compileflags = [])