(DEV) add some element of Mac OS framework
This commit is contained in:
parent
42e3deed44
commit
e25ceee5a8
@ -1313,6 +1313,8 @@ class Module:
|
|||||||
for element in self._path["export"]:
|
for element in self._path["export"]:
|
||||||
value = self._path["export"][element]
|
value = self._path["export"][element]
|
||||||
self._print_list('export path "' + str(element) + '" ' + str(len(value)), value)
|
self._print_list('export path "' + str(element) + '" ' + str(len(value)), value)
|
||||||
|
print('-----------------------------------------------')
|
||||||
|
return True
|
||||||
|
|
||||||
##
|
##
|
||||||
## @brief Get packaging property variable
|
## @brief Get packaging property variable
|
||||||
|
32
lutin/z_system/lutinSystem_MacOs_AVFoundation.py
Normal file
32
lutin/z_system/lutinSystem_MacOs_AVFoundation.py
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
#!/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)
|
||||||
|
# no check needed ==> just add this:
|
||||||
|
self.add_depend([
|
||||||
|
'c'
|
||||||
|
])
|
||||||
|
self.add_flag('link', [
|
||||||
|
"-framework AVFoundation"
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
|
32
lutin/z_system/lutinSystem_MacOs_CoreGraphics.py
Normal file
32
lutin/z_system/lutinSystem_MacOs_CoreGraphics.py
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
#!/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)
|
||||||
|
# no check needed ==> just add this:
|
||||||
|
self.add_depend([
|
||||||
|
'c'
|
||||||
|
])
|
||||||
|
self.add_flag('link', [
|
||||||
|
"-framework CoreGraphics"
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
|
32
lutin/z_system/lutinSystem_MacOs_CoreMedia.py
Normal file
32
lutin/z_system/lutinSystem_MacOs_CoreMedia.py
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
#!/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)
|
||||||
|
# no check needed ==> just add this:
|
||||||
|
self.add_depend([
|
||||||
|
'c'
|
||||||
|
])
|
||||||
|
self.add_flag('link', [
|
||||||
|
"-framework CoreMedia"
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
|
32
lutin/z_system/lutinSystem_MacOs_CoreServices.py
Normal file
32
lutin/z_system/lutinSystem_MacOs_CoreServices.py
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
#!/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)
|
||||||
|
# no check needed ==> just add this:
|
||||||
|
self.add_depend([
|
||||||
|
'c'
|
||||||
|
])
|
||||||
|
self.add_flag('link', [
|
||||||
|
"-framework CoreServices"
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
|
32
lutin/z_system/lutinSystem_MacOs_CoreVideo.py
Normal file
32
lutin/z_system/lutinSystem_MacOs_CoreVideo.py
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
#!/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)
|
||||||
|
# no check needed ==> just add this:
|
||||||
|
self.add_depend([
|
||||||
|
'c'
|
||||||
|
])
|
||||||
|
self.add_flag('link', [
|
||||||
|
"-framework CoreVideo"
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
|
27
lutin/z_system/lutinSystem_MacOs_Foundation.py
Normal file
27
lutin/z_system/lutinSystem_MacOs_Foundation.py
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
#!/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("CoreAudio : Ios interface for fundation (all time present, just system interface)")
|
||||||
|
self.set_valid(True)
|
||||||
|
# todo : create a searcher of the presence of the library:
|
||||||
|
self.add_flag("link", "-framework Foundation")
|
||||||
|
self.add_depend("QuartzCore")
|
||||||
|
|
||||||
|
|
32
lutin/z_system/lutinSystem_MacOs_VideoDecodeAcceleration.py
Normal file
32
lutin/z_system/lutinSystem_MacOs_VideoDecodeAcceleration.py
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
#!/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)
|
||||||
|
# no check needed ==> just add this:
|
||||||
|
self.add_depend([
|
||||||
|
'c'
|
||||||
|
])
|
||||||
|
self.add_flag('link', [
|
||||||
|
"-framework VideoDecodeAcceleration"
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -25,7 +25,8 @@ class System(system.System):
|
|||||||
'c'
|
'c'
|
||||||
])
|
])
|
||||||
self.add_flag('link', [
|
self.add_flag('link', [
|
||||||
"-framework OpenGL"])
|
"-framework OpenGL"
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@ class Target(target.Target):
|
|||||||
#bus size selection (auto/32/64)
|
#bus size selection (auto/32/64)
|
||||||
if config["bus-size"] == "auto":
|
if config["bus-size"] == "auto":
|
||||||
config["bus-size"] = str(host.BUS_SIZE)
|
config["bus-size"] = str(host.BUS_SIZE)
|
||||||
|
#config["bus-size"] = str(32)
|
||||||
if config["compilator"] != "clang":
|
if config["compilator"] != "clang":
|
||||||
debug.warning("compilator is not clang ==> force it...")
|
debug.warning("compilator is not clang ==> force it...")
|
||||||
config["compilator"] = "clang"
|
config["compilator"] = "clang"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user