2016-02-11 21:18:25 +01:00
|
|
|
#!/usr/bin/python
|
|
|
|
import lutin.module as module
|
|
|
|
import lutin.tools as tools
|
|
|
|
import lutin.debug as debug
|
|
|
|
import os
|
|
|
|
import lutin.multiprocess as lutinMultiprocess
|
|
|
|
|
|
|
|
|
|
|
|
def get_type():
|
|
|
|
return "LIBRARY"
|
|
|
|
|
|
|
|
def get_desc():
|
|
|
|
return "esignal is signal management for all class"
|
|
|
|
|
|
|
|
def get_licence():
|
|
|
|
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 get_version():
|
2016-08-30 22:54:57 +02:00
|
|
|
return [0,3,"dev"]
|
2016-02-11 21:18:25 +01:00
|
|
|
|
|
|
|
def create(target, module_name):
|
|
|
|
my_module = module.Module(__file__, module_name, get_type())
|
2016-09-08 21:35:02 +02:00
|
|
|
my_module.add_extra_flags()
|
2016-02-11 21:18:25 +01:00
|
|
|
my_module.add_src_file([
|
|
|
|
'esignal/debug.cpp',
|
2016-02-24 21:18:02 +01:00
|
|
|
'esignal/Connection.cpp',
|
2016-04-05 22:41:25 +02:00
|
|
|
'esignal/InterfaceData.cpp',
|
2016-02-11 22:39:40 +01:00
|
|
|
'esignal/Base.cpp',
|
|
|
|
'esignal/details/Signal.cpp',
|
2016-02-11 21:18:25 +01:00
|
|
|
])
|
|
|
|
my_module.add_header_file([
|
|
|
|
'esignal/debug.h',
|
|
|
|
'esignal/Interface.h',
|
2016-04-05 22:41:25 +02:00
|
|
|
'esignal/InterfaceData.h',
|
2016-02-11 21:18:25 +01:00
|
|
|
'esignal/Base.h',
|
2016-02-11 22:39:40 +01:00
|
|
|
'esignal/Signal.h',
|
2016-02-19 23:39:25 +01:00
|
|
|
'esignal/Connection.h',
|
2016-02-11 22:39:40 +01:00
|
|
|
'esignal/details/Signal.hxx',
|
2016-02-11 21:18:25 +01:00
|
|
|
])
|
2016-02-22 21:58:56 +01:00
|
|
|
my_module.compile_version("c++", 2011)
|
2016-09-08 21:35:02 +02:00
|
|
|
my_module.add_depend([
|
2016-04-04 23:22:34 +02:00
|
|
|
'etk',
|
|
|
|
'ememory'
|
|
|
|
])
|
2016-02-11 21:18:25 +01:00
|
|
|
my_module.add_path(tools.get_current_path(__file__))
|
2016-09-08 21:35:02 +02:00
|
|
|
my_module.add_flag('c++', [
|
2016-02-11 21:18:25 +01:00
|
|
|
"-DESIGNAL_VERSION=\"\\\"" + tools.version_to_string(get_version()) + "\\\"\""
|
|
|
|
])
|
2016-02-23 22:19:14 +01:00
|
|
|
my_module.add_tools(['esignal-test'])
|
2016-02-11 21:18:25 +01:00
|
|
|
return my_module
|
|
|
|
|