[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 eecf291eab
commit 9cf23b59e9
2 changed files with 22 additions and 18 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
@ -24,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-speex', 'test-debug'])
return my_module
'test/main.cpp'
])
my_module.add_depend([
'audio-algo-speex',
'test-debug'
])
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
@ -24,19 +24,21 @@ 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/speex/debug.cpp',
'audio/algo/speex/Resampler.cpp'
])
'audio/algo/speex/debug.cpp',
'audio/algo/speex/Resampler.cpp'
])
my_module.add_header_file([
'audio/algo/speex/Resampler.hpp'
])
my_module.add_depend(['etk', 'audio'])
'audio/algo/speex/Resampler.hpp'
])
my_module.add_depend([
'etk',
'audio'
])
my_module.add_optionnal_depend('speex-dsp', ["c++", "-DHAVE_SPEEX_DSP"])
my_module.add_path(tools.get_current_path(__file__))
return my_module
my_module.add_path(".")
return True