enet/lutin_enet.py

63 lines
1.1 KiB
Python
Raw Normal View History

2014-05-04 22:27:56 +02:00
#!/usr/bin/python
2015-05-08 22:37:50 +02:00
import lutin.module as module
import lutin.tools as tools
2014-05-04 22:27:56 +02:00
2015-10-14 21:21:03 +02:00
def get_type():
return "LIBRARY"
2014-05-04 22:27:56 +02:00
def get_desc():
2015-10-14 21:21:03 +02:00
return "TCP/UDP/HTTP/FTP interface"
2014-05-04 22:27:56 +02:00
def get_licence():
2015-10-14 21:21:03 +02:00
return "APACHE-2"
def get_compagny_type():
return "com"
def get_compagny_name():
return "atria-soft"
def get_maintainer():
2016-09-12 21:06:37 +02:00
return "authors.txt"
2015-10-14 21:21:03 +02:00
def get_version():
2016-09-12 21:06:37 +02:00
return "version.txt"
2015-10-14 21:21:03 +02:00
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
2016-09-13 22:20:58 +02:00
my_module.add_depend([
'etk',
'ememory',
'algue'
])
2015-10-14 21:21:03 +02:00
my_module.add_path(tools.get_current_path(__file__))
2016-01-18 22:22:50 +01:00
my_module.add_src_file([
2016-09-28 21:52:50 +02:00
'enet/debug.cpp',
2016-01-18 22:22:50 +01:00
'enet/Udp.cpp',
'enet/Tcp.cpp',
'enet/TcpServer.cpp',
'enet/TcpClient.cpp',
2016-01-18 22:22:50 +01:00
'enet/Http.cpp',
'enet/Ftp.cpp',
'enet/WebSocket.cpp',
2016-01-18 22:22:50 +01:00
])
my_module.add_header_file([
2016-09-30 22:28:36 +02:00
'enet/debug.hpp',
'enet/Udp.hpp',
'enet/Tcp.hpp',
'enet/TcpServer.hpp',
'enet/TcpClient.hpp',
'enet/Http.hpp',
'enet/Ftp.hpp',
'enet/WebSocket.hpp',
2016-01-18 22:22:50 +01:00
])
2015-09-24 21:44:04 +02:00
return my_module
2014-05-04 22:27:56 +02:00