[DEV] Update new lutin 2.2.0 (no legacy support)

This commit is contained in:
Edouard DUPIN 2016-10-04 23:41:29 +02:00
parent 0ffc0377d0
commit 99521d9c6f
2 changed files with 11 additions and 12 deletions

View File

@ -1,5 +1,4 @@
#!/usr/bin/python
import lutin.module as module
import lutin.tools as tools
import lutin.debug as debug
@ -25,13 +24,15 @@ def get_compagny_name():
def get_maintainer():
return "authors.txt"
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'test/main.cpp'
])
my_module.add_depend(['audio-algo-river', 'test-debug'])
return my_module
my_module.add_depend([
'audio-algo-river',
'test-debug'
])
return True

View File

@ -1,5 +1,4 @@
#!/usr/bin/python
import lutin.module as module
import lutin.tools as tools
import lutin.debug as debug
@ -25,8 +24,7 @@ def get_maintainer():
def get_version():
return "version.txt"
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'audio/algo/river/debug.cpp',
'audio/algo/river/convolution.cpp',
@ -45,8 +43,8 @@ def create(target, module_name):
'audio/algo/river/Suppressor.hpp'
])
my_module.add_depend(['etk', 'audio'])
my_module.add_path(tools.get_current_path(__file__))
return my_module
my_module.add_path(".")
return True