[DEV] add some include in windows platform
This commit is contained in:
parent
acc69912a0
commit
f0690cd75a
@ -220,6 +220,21 @@ class Target:
|
|||||||
def get_compilator(self):
|
def get_compilator(self):
|
||||||
return self.config["compilator"]
|
return self.config["compilator"]
|
||||||
|
|
||||||
|
##
|
||||||
|
## @brief Get architecture name (x86 / arm / ...)
|
||||||
|
## @param[in] self (handle) Class handle
|
||||||
|
## @return (bool) name of the arch requested
|
||||||
|
##
|
||||||
|
def get_arch(self):
|
||||||
|
return self.config["arch"]
|
||||||
|
##
|
||||||
|
## @brief Get architecture name (x86 / arm / ...)
|
||||||
|
## @param[in] self (handle) Class handle
|
||||||
|
## @return (bool) name of the arch requested
|
||||||
|
##
|
||||||
|
def get_bus_size(self):
|
||||||
|
return self.config["bus-size"]
|
||||||
|
|
||||||
##
|
##
|
||||||
## @brief Add global target flags
|
## @brief Add global target flags
|
||||||
## @param[in] self (handle) Class handle
|
## @param[in] self (handle) Class handle
|
||||||
|
26
lutin/z_system/lutinSystem_Windows_advapi.py
Normal file
26
lutin/z_system/lutinSystem_Windows_advapi.py
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
#!/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("advapi interface")
|
||||||
|
self.set_valid(True)
|
||||||
|
self.add_flag('link-lib', 'advapi32')
|
||||||
|
|
||||||
|
|
||||||
|
|
26
lutin/z_system/lutinSystem_Windows_avicap.py
Normal file
26
lutin/z_system/lutinSystem_Windows_avicap.py
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
#!/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("avicap interface")
|
||||||
|
self.set_valid(True)
|
||||||
|
self.add_flag('link-lib', 'avicap32')
|
||||||
|
|
||||||
|
|
||||||
|
|
26
lutin/z_system/lutinSystem_Windows_ole.py
Normal file
26
lutin/z_system/lutinSystem_Windows_ole.py
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
#!/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("ole interface")
|
||||||
|
self.set_valid(True)
|
||||||
|
self.add_flag('link-lib', 'ole32')
|
||||||
|
|
||||||
|
|
||||||
|
|
26
lutin/z_system/lutinSystem_Windows_oleaut.py
Normal file
26
lutin/z_system/lutinSystem_Windows_oleaut.py
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
#!/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("oleaut interface")
|
||||||
|
self.set_valid(True)
|
||||||
|
self.add_flag('link-lib', 'oleaut32')
|
||||||
|
|
||||||
|
|
||||||
|
|
26
lutin/z_system/lutinSystem_Windows_psapi.py
Normal file
26
lutin/z_system/lutinSystem_Windows_psapi.py
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
#!/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("psapi interface ")
|
||||||
|
self.set_valid(True)
|
||||||
|
self.add_flag('link-lib', 'psapi')
|
||||||
|
|
||||||
|
|
||||||
|
|
26
lutin/z_system/lutinSystem_Windows_shell.py
Normal file
26
lutin/z_system/lutinSystem_Windows_shell.py
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
#!/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("shell interface")
|
||||||
|
self.set_valid(True)
|
||||||
|
self.add_flag('link-lib', 'shell32')
|
||||||
|
|
||||||
|
|
||||||
|
|
26
lutin/z_system/lutinSystem_Windows_strmiids.py
Normal file
26
lutin/z_system/lutinSystem_Windows_strmiids.py
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
#!/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("strmiids interface")
|
||||||
|
self.set_valid(True)
|
||||||
|
self.add_flag('link-lib', 'strmiids')
|
||||||
|
|
||||||
|
|
||||||
|
|
26
lutin/z_system/lutinSystem_Windows_uuid.py
Normal file
26
lutin/z_system/lutinSystem_Windows_uuid.py
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
#!/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("uuid interface")
|
||||||
|
self.set_valid(True)
|
||||||
|
self.add_flag('link-lib', 'uuid')
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user