[DEV] update new lutin 0.8.0
This commit is contained in:
parent
83296899bd
commit
57defb7da9
@ -2,28 +2,36 @@
|
|||||||
import lutin.module as module
|
import lutin.module as module
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
|
|
||||||
|
|
||||||
|
def get_type():
|
||||||
|
return "BINARY"
|
||||||
|
|
||||||
|
def get_sub_type():
|
||||||
|
return "TEST"
|
||||||
|
|
||||||
def get_desc():
|
def get_desc():
|
||||||
return "e-net TEST test software for enet"
|
return "e-net TEST test software for enet"
|
||||||
|
|
||||||
def get_licence():
|
def get_licence():
|
||||||
return {
|
return "APACHE-2"
|
||||||
"assimilate":"APACHE2",
|
|
||||||
"type":"APACHE-2.0"
|
|
||||||
}
|
|
||||||
|
|
||||||
def create(target):
|
def get_compagny_type():
|
||||||
my_module = module.Module(__file__, 'enet-test', 'BINARY')
|
return "com"
|
||||||
|
|
||||||
my_module.add_module_depend(['enet', 'gtest'])
|
def get_compagny_name():
|
||||||
|
return "atria-soft"
|
||||||
|
|
||||||
|
def get_maintainer():
|
||||||
|
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
|
||||||
|
|
||||||
|
def create(target, module_name):
|
||||||
|
my_module = module.Module(__file__, module_name, get_type())
|
||||||
|
my_module.add_module_depend(['enet', 'gtest', 'test-debug'])
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'test/debug.cpp',
|
'test/debug.cpp',
|
||||||
'test/main.cpp'
|
'test/main.cpp'
|
||||||
])
|
])
|
||||||
|
|
||||||
my_module.add_export_path(tools.get_current_path(__file__))
|
my_module.add_export_path(tools.get_current_path(__file__))
|
||||||
|
|
||||||
# add the currrent module at the
|
|
||||||
return my_module
|
return my_module
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,20 +2,31 @@
|
|||||||
import lutin.module as module
|
import lutin.module as module
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
|
|
||||||
|
|
||||||
|
def get_type():
|
||||||
|
return "LIBRARY"
|
||||||
|
|
||||||
def get_desc():
|
def get_desc():
|
||||||
return "e-net TCP/UDP/HTTP/FTP interface"
|
return "TCP/UDP/HTTP/FTP interface"
|
||||||
|
|
||||||
def get_licence():
|
def get_licence():
|
||||||
return {
|
return "APACHE-2"
|
||||||
"assimilate":"APACHE2",
|
|
||||||
"type":"APACHE-2.0"
|
|
||||||
}
|
|
||||||
|
|
||||||
def create(target):
|
def get_compagny_type():
|
||||||
my_module = module.Module(__file__, 'enet', 'LIBRARY')
|
return "com"
|
||||||
|
|
||||||
|
def get_compagny_name():
|
||||||
|
return "atria-soft"
|
||||||
|
|
||||||
|
def get_maintainer():
|
||||||
|
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
|
||||||
|
|
||||||
|
def get_version():
|
||||||
|
return [0,0,0]
|
||||||
|
|
||||||
|
def create(target, module_name):
|
||||||
|
my_module = module.Module(__file__, module_name, get_type())
|
||||||
my_module.add_module_depend(['etk'])
|
my_module.add_module_depend(['etk'])
|
||||||
|
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'enet/debug.cpp',
|
'enet/debug.cpp',
|
||||||
'enet/Udp.cpp',
|
'enet/Udp.cpp',
|
||||||
@ -23,10 +34,14 @@ def create(target):
|
|||||||
'enet/Http.cpp',
|
'enet/Http.cpp',
|
||||||
'enet/Ftp.cpp',
|
'enet/Ftp.cpp',
|
||||||
])
|
])
|
||||||
|
my_module.add_header_file([
|
||||||
my_module.add_export_path(tools.get_current_path(__file__))
|
'enet/debug.h',
|
||||||
|
'enet/Udp.h',
|
||||||
# add the currrent module at the
|
'enet/Tcp.h',
|
||||||
|
'enet/Http.h',
|
||||||
|
'enet/Ftp.h',
|
||||||
|
])
|
||||||
|
my_module.add_path(tools.get_current_path(__file__))
|
||||||
return my_module
|
return my_module
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user