diff --git a/lutin/z_system/lutinSystem_Linux_opengl.py b/lutin/z_system/lutinSystem_Linux_opengl.py index e70b0cb..469be54 100644 --- a/lutin/z_system/lutinSystem_Linux_opengl.py +++ b/lutin/z_system/lutinSystem_Linux_opengl.py @@ -34,14 +34,8 @@ class System(system.System): recursive=True) """ - if target.name=="Linux": - - elif target.name=="Android": + if target.name=="Android": my_module.add_flag('link-lib', "GLESv2") - elif target.name=="Windows": - my_module.add_depend([ - "glew" - ]) elif target.name=="MacOs": my_module.add_flag('link', [ "-framework OpenGL"]) diff --git a/lutin/z_system/lutinSystem_Windows_c.py b/lutin/z_system/lutinSystem_Windows_c.py new file mode 100644 index 0000000..0118adc --- /dev/null +++ b/lutin/z_system/lutinSystem_Windows_c.py @@ -0,0 +1,23 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +## +## @author Edouard DUPIN +## +## @copyright 2012, Edouard DUPIN, all right reserved +## +## @license APACHE v2.0 (see license file) +## + +from lutin import debug +from lutin import system +from lutin import tools +from lutin import env +import os + +class System(system.System): + def __init__(self, target): + system.System.__init__(self) + # create some HELP: + self.set_help("C: Generic C library") + self.set_valid(True) + diff --git a/lutin/z_system/lutinSystem_Windows_opengl.py b/lutin/z_system/lutinSystem_Windows_opengl.py new file mode 100644 index 0000000..8fcd67b --- /dev/null +++ b/lutin/z_system/lutinSystem_Windows_opengl.py @@ -0,0 +1,29 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +## +## @author Edouard DUPIN +## +## @copyright 2012, Edouard DUPIN, all right reserved +## +## @license APACHE v2.0 (see license file) +## + +from lutin import debug +from lutin import system +from lutin import tools +from lutin import env +import os + +class System(system.System): + def __init__(self, target): + system.System.__init__(self) + # create some HELP: + self.set_help("OpenGL: Generic graphic library") + self.set_valid(True) + # TODO: this is a real bad dependency ... + self.add_depend([ + 'glew' + ]) + + +