From afca4fd64689ad8be217b6a1e7207b4ac3ad0eb8 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Thu, 8 Sep 2016 21:35:02 +0200 Subject: [PATCH] [DEV] update to future lutin 2.0 --- doxy_esignal.py | 2 +- lutin_esignal-sample.py | 2 +- lutin_esignal-test.py | 2 +- lutin_esignal.py | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doxy_esignal.py b/doxy_esignal.py index 12f1f50..4941393 100644 --- a/doxy_esignal.py +++ b/doxy_esignal.py @@ -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', ]) diff --git a/lutin_esignal-sample.py b/lutin_esignal-sample.py index 785e55e..a7a7d35 100644 --- a/lutin_esignal-sample.py +++ b/lutin_esignal-sample.py @@ -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 diff --git a/lutin_esignal-test.py b/lutin_esignal-test.py index 40d4690..4b9fb07 100644 --- a/lutin_esignal-test.py +++ b/lutin_esignal-test.py @@ -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 diff --git a/lutin_esignal.py b/lutin_esignal.py index dc0626a..db33f42 100644 --- a/lutin_esignal.py +++ b/lutin_esignal.py @@ -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'])