esignal/lutin_esignal.py

58 lines
1.2 KiB
Python
Raw Permalink Normal View History

#!/usr/bin/python
import lutin.tools as tools
2019-05-03 10:18:22 +02:00
import realog.debug as debug
def get_type():
return "LIBRARY"
def get_desc():
return "esignal is signal management for all class"
def get_licence():
return "MPL-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"
def get_version():
2016-09-12 21:06:37 +02:00
return "version.txt"
def configure(target, my_module):
2016-09-08 21:35:02 +02:00
my_module.add_extra_flags()
my_module.add_src_file([
'esignal/debug.cpp',
'esignal/Connection.cpp',
'esignal/InterfaceData.cpp',
'esignal/Base.cpp',
'esignal/details/Signal.cpp',
])
my_module.add_header_file([
'esignal/debug.hpp',
'esignal/Interface.hpp',
'esignal/InterfaceData.hpp',
'esignal/Base.hpp',
'esignal/Signal.hpp',
'esignal/Connection.hpp',
'esignal/details/Signal.hxx',
])
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([
'etk',
'ememory'
])
my_module.add_path(".")
2016-09-08 21:35:02 +02:00
my_module.add_flag('c++', [
2017-08-30 22:35:58 +02:00
"-DESIGNAL_VERSION=\"\\\"" + tools.version_to_string(get_version()) + "\\\"\""
])
my_module.add_optionnal_depend('echrono', compilation_flags=["c++", "-DESIGNAL_BUILD_WITH_ECHRONO"])
my_module.add_tools(['esignal-test'])
return True