[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 eae5465cd1
commit ce5910b8df
2 changed files with 7 additions and 11 deletions

View File

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

View File

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