[DEBUG] set comiplation for Windows on Linux back
This commit is contained in:
parent
cc397679bb
commit
3bea09cfc2
@ -34,14 +34,8 @@ class System(system.System):
|
|||||||
recursive=True)
|
recursive=True)
|
||||||
|
|
||||||
"""
|
"""
|
||||||
if target.name=="Linux":
|
if target.name=="Android":
|
||||||
|
|
||||||
elif target.name=="Android":
|
|
||||||
my_module.add_flag('link-lib', "GLESv2")
|
my_module.add_flag('link-lib', "GLESv2")
|
||||||
elif target.name=="Windows":
|
|
||||||
my_module.add_depend([
|
|
||||||
"glew"
|
|
||||||
])
|
|
||||||
elif target.name=="MacOs":
|
elif target.name=="MacOs":
|
||||||
my_module.add_flag('link', [
|
my_module.add_flag('link', [
|
||||||
"-framework OpenGL"])
|
"-framework OpenGL"])
|
||||||
|
23
lutin/z_system/lutinSystem_Windows_c.py
Normal file
23
lutin/z_system/lutinSystem_Windows_c.py
Normal file
@ -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)
|
||||||
|
|
29
lutin/z_system/lutinSystem_Windows_opengl.py
Normal file
29
lutin/z_system/lutinSystem_Windows_opengl.py
Normal file
@ -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'
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user