[DEV] update to future lutin 2.0

This commit is contained in:
Edouard DUPIN 2016-09-08 21:35:02 +02:00
parent 31e74185c8
commit afca4fd646
4 changed files with 6 additions and 6 deletions

View File

@ -17,7 +17,7 @@ def create(target, module_name):
my_module.add_sample_path([
"sample",
])
my_module.add_module_depend([
my_module.add_depend([
'etk',
'ememory',
])

View File

@ -29,6 +29,6 @@ def create(target, module_name):
my_module.add_src_file([
'sample/sampleAll.cpp'
])
my_module.add_module_depend(['esignal', 'test-debug'])
my_module.add_depend(['esignal', 'test-debug'])
return my_module

View File

@ -37,6 +37,6 @@ def create(target, module_name):
'test/test_signal_static_func.cpp',
'test/test_isignal.cpp'
])
my_module.add_module_depend(['esignal', 'gtest', 'test-debug'])
my_module.add_depend(['esignal', 'gtest', 'test-debug'])
return my_module

View File

@ -29,7 +29,7 @@ def get_version():
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
my_module.add_extra_compile_flags()
my_module.add_extra_flags()
my_module.add_src_file([
'esignal/debug.cpp',
'esignal/Connection.cpp',
@ -47,12 +47,12 @@ def create(target, module_name):
'esignal/details/Signal.hxx',
])
my_module.compile_version("c++", 2011)
my_module.add_module_depend([
my_module.add_depend([
'etk',
'ememory'
])
my_module.add_path(tools.get_current_path(__file__))
my_module.compile_flags('c++', [
my_module.add_flag('c++', [
"-DESIGNAL_VERSION=\"\\\"" + tools.version_to_string(get_version()) + "\\\"\""
])
my_module.add_tools(['esignal-test'])