[DEV] update v2.0.0

This commit is contained in:
Edouard DUPIN 2016-09-16 00:13:12 +02:00
parent da8ccdc9c2
commit af13ed0fa2
2 changed files with 26 additions and 5 deletions

2
glew

@ -1 +1 @@
Subproject commit 4423e9fec2b665096f10c8b74020a9abf0f9f260 Subproject commit b7f4b01844276dda5312182149671798e3e0808e

View File

@ -5,7 +5,7 @@ import os
def get_type(): def get_type():
return "LIBRARY" return "LIBRARY_STATIC"
def get_desc(): def get_desc():
return "Glew generic glew interface (for windows only)" return "Glew generic glew interface (for windows only)"
@ -18,7 +18,7 @@ def get_maintainer():
"Marcelo E. Magallon <mmagallo@debian org>"] "Marcelo E. Magallon <mmagallo@debian org>"]
def get_version(): def get_version():
return [1,13,0] return [2,0,0]
def create(target, module_name): def create(target, module_name):
if "Windows" in target.get_type(): if "Windows" in target.get_type():
@ -28,7 +28,8 @@ def create(target, module_name):
my_module.add_header_file([ my_module.add_header_file([
'glew/include/GL/glew.h', 'glew/include/GL/glew.h',
'glew/include/GL/glxew.h', 'glew/include/GL/glxew.h',
'glew/include/GL/wglew.h' 'glew/include/GL/wglew.h',
'glew/include/GL/eglew.h'
], ],
destination_path="GL") destination_path="GL")
my_module.add_src_file([ my_module.add_src_file([
@ -37,12 +38,32 @@ def create(target, module_name):
'glew/src/visualinfo.c' 'glew/src/visualinfo.c'
]) ])
""" """
my_module.add_src_file([
'glew/auto/src/glewinfo_gl.c',
'glew/auto/src/glew_init_tail.c',
'glew/auto/src/glew_head.c',
'glew/auto/src/glew_init_egl.c',
'glew/auto/src/glew_init_gl.c',
'glew/auto/src/glew_init_glx.c',
'glew/auto/src/glew_str_glx.c',
'glew/auto/src/glewinfo_wgl.c',
'glew/auto/src/glewinfo_tail.c',
'glew/auto/src/glew_str_wgl.c',
'glew/auto/src/glew_str_egl.c',
'glew/auto/src/glew_str_tail.c',
'glew/auto/src/glewinfo_head.c',
'glew/auto/src/glew_str_head.c',
'glew/auto/src/glew_init_wgl.c',
'glew/auto/src/glewinfo_egl.c',
'glew/auto/src/glewinfo_glx.c',
])
"""
my_module.add_flag('link-lib', [ my_module.add_flag('link-lib', [
"opengl32", "opengl32",
"gdi32" "gdi32"
], ],
export=True) export=True)
""" my_module.add_path("glew/auto/src/")
return my_module return my_module
else: else:
return None return None