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 "BINARY"
|
|
|
|
|
|
|
|
def get_sub_type():
|
|
|
|
return "TEST"
|
|
|
|
|
2014-05-04 22:27:56 +02:00
|
|
|
def get_desc():
|
|
|
|
return "e-net TEST test software for enet"
|
|
|
|
|
|
|
|
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():
|
|
|
|
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
|
|
|
|
|
|
|
|
def create(target, module_name):
|
|
|
|
my_module = module.Module(__file__, module_name, get_type())
|
2015-09-24 21:44:04 +02:00
|
|
|
my_module.add_export_path(tools.get_current_path(__file__))
|
2016-05-02 22:14:07 +02:00
|
|
|
my_module.add_module_depend(['enet', 'gtest', 'test-debug'])
|
2016-01-18 22:22:50 +01:00
|
|
|
my_module.add_src_file([
|
2016-05-02 22:14:07 +02:00
|
|
|
'test/main-server.cpp'
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|