* enable openjpeg building for win32/msvc
* add support for building redcode on win32/msvc, but disabled for now, as there are linking problems - I cleaned the redcode sconscript - the copying of headers within the source tree is not a clean solution This needs to be fixed later on. For now, lets use redcode from extern/ until a better way is found.
This commit is contained in:
14
extern/libredcode/SConscript
vendored
14
extern/libredcode/SConscript
vendored
@@ -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 = [])
|
||||
|
Reference in New Issue
Block a user