[DEV] add empty element for Android board (not work ...)
This commit is contained in:
parent
760a589cbe
commit
1c32b7089a
22
lutin/z_system/lutinSystem_Android_c.py
Normal file
22
lutin/z_system/lutinSystem_Android_c.py
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#!/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
|
||||||
|
import os
|
||||||
|
|
||||||
|
class System(system.System):
|
||||||
|
def __init__(self, target):
|
||||||
|
system.System.__init__(self)
|
||||||
|
# create some HELP:
|
||||||
|
self.help = "C: Generic C library"
|
||||||
|
self.valid = True
|
||||||
|
|
35
lutin/z_system/lutinSystem_Android_opengl.py
Normal file
35
lutin/z_system/lutinSystem_Android_opengl.py
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
#!/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
|
||||||
|
import os
|
||||||
|
|
||||||
|
class System(system.System):
|
||||||
|
def __init__(self, target):
|
||||||
|
system.System.__init__(self)
|
||||||
|
# create some HELP:
|
||||||
|
self.help = "OpenGL: Generic graphic library"
|
||||||
|
self.valid = True
|
||||||
|
# no check needed ==> just add this:
|
||||||
|
self.add_module_depend([
|
||||||
|
'c',
|
||||||
|
])
|
||||||
|
"""
|
||||||
|
self.add_header_file([
|
||||||
|
"/usr/include/GL/*"
|
||||||
|
],
|
||||||
|
destination_path="GL",
|
||||||
|
recursive=True)
|
||||||
|
"""
|
||||||
|
self.add_export_flag('link-lib', "GLESv2")
|
||||||
|
|
||||||
|
|
34
lutin/z_system/lutinSystem_Android_pthread.py
Normal file
34
lutin/z_system/lutinSystem_Android_pthread.py
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
#!/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
|
||||||
|
import os
|
||||||
|
|
||||||
|
class System(system.System):
|
||||||
|
def __init__(self, target):
|
||||||
|
system.System.__init__(self)
|
||||||
|
# create some HELP:
|
||||||
|
self.help="pthread : Generic multithreading system\n Can be install with the package:\n - pthread-dev"
|
||||||
|
# check if the library exist:
|
||||||
|
"""
|
||||||
|
if not os.path.isfile("/usr/include/pthread.h"):
|
||||||
|
# we did not find the library reqiested (just return) (automaticly set at false)
|
||||||
|
return;
|
||||||
|
"""
|
||||||
|
self.valid = True
|
||||||
|
# todo : create a searcher of the presence of the library:
|
||||||
|
#self.add_export_flag("link-lib", "pthread")
|
||||||
|
self.add_module_depend([
|
||||||
|
'c'
|
||||||
|
])
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user