[DEBUG] set comiplation for Windows on Linux back

This commit is contained in:
Edouard DUPIN 2016-09-14 23:53:22 +02:00
parent cc397679bb
commit 3bea09cfc2
3 changed files with 53 additions and 7 deletions

View File

@ -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"])

View 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)

View 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'
])