* enable openjpeg building for win32/msvc
[blender-staging.git] / extern / libredcode / SConscript
index 4e83ba5cbb4f28bdcf437d7a7a71d59ade76486e..b58e6d5fe254662d684f7208cd2ea25ff461e5c1 100644 (file)
@@ -9,20 +9,8 @@ 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 = [])
+                 priority=[10, 5, 300], compileflags = [])