Allow Bullet soft bodies to be created using a AddObject actuator. Added a fake world...
[blender-staging.git] / extern / libredcode / SConscript
1 #!/usr/bin/python
2
3 import sys
4 import os
5 import shutil
6
7 Import('env')
8
9 sources = env.Glob('*.c')
10 incs = '. ../libopenjpeg'
11
12 root = "extern/libredcode"
13
14 if not os.path.isdir(root + "/include"):
15     os.mkdir(root + "/include");
16 if not os.path.isdir(root + "/include/redcode"):
17     os.mkdir(root + "/include/redcode");
18
19 for h in env.Glob('*.h'):
20     shutil.copyfile(root + "/" + h,
21                     root + "/include/redcode/" + h)
22
23
24 env.BlenderLib ( libname='extern_redcode', 
25                  sources=sources, includes=Split(incs),
26                  defines=[],
27                  libtype=['core','intern','player'],
28                  priority=[5, 5, 200], compileflags = [])