[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 3fe3297bc9
commit d606e71481
4 changed files with 40 additions and 37 deletions

View File

@ -1,7 +1,6 @@
#!/usr/bin/python
import lutin.module as module
import lutin.tools as tools
import lutin.debug as debug
import lutin.tools as tools
def get_type():
@ -25,13 +24,12 @@ 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-drain', 'test-debug'])
return my_module
return True

View File

@ -1,7 +1,6 @@
#!/usr/bin/python
import lutin.module as module
import lutin.tools as tools
import lutin.debug as debug
import lutin.tools as tools
def get_type():
@ -26,22 +25,24 @@ 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/drain/debug.cpp',
'audio/algo/drain/BiQuad.cpp',
'audio/algo/drain/BiQuadType.cpp',
'audio/algo/drain/Equalizer.cpp'
])
'audio/algo/drain/debug.cpp',
'audio/algo/drain/BiQuad.cpp',
'audio/algo/drain/BiQuadType.cpp',
'audio/algo/drain/Equalizer.cpp'
])
my_module.add_header_file([
'audio/algo/drain/BiQuad.hpp',
'audio/algo/drain/BiQuadType.hpp',
'audio/algo/drain/Equalizer.hpp'
])
my_module.add_depend(['etk', 'audio'])
my_module.add_path(tools.get_current_path(__file__))
return my_module
'audio/algo/drain/BiQuad.hpp',
'audio/algo/drain/BiQuadType.hpp',
'audio/algo/drain/Equalizer.hpp'
])
my_module.add_depend([
'etk',
'audio'
])
my_module.add_path(".")
return True

View File

@ -1,7 +1,6 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import datetime
def get_type():
@ -25,12 +24,15 @@ def get_compagny_name():
def get_maintainer():
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'beamPattern.cpp'
])
'beamPattern.cpp'
])
my_module.compile_version("c++", 2011)
my_module.add_depend(['m', 'etk', 'test-debug'])
return my_module
my_module.add_depend([
'm',
'etk',
'test-debug'
])
return True

View File

@ -1,7 +1,6 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import datetime
def get_type():
@ -25,11 +24,14 @@ def get_compagny_name():
def get_maintainer():
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'freqResp.cpp'
])
'freqResp.cpp'
])
my_module.compile_version("c++", 2011)
my_module.add_depend(['m', 'etk', 'test-debug'])
return my_module
my_module.add_depend([
'm',
'etk',
'test-debug'
])
return True