[DEV] update next lutin version

This commit is contained in:
Edouard DUPIN 2015-09-24 21:44:04 +02:00
parent 6e125d4a62
commit 05237a7b29
4 changed files with 28 additions and 28 deletions

View File

@ -8,9 +8,9 @@ def get_desc():
def create(target): def create(target):
myModule = module.Module(__file__, 'audio-drain-test', 'BINARY') my_module = module.Module(__file__, 'audio-drain-test', 'BINARY')
myModule.add_src_file([ my_module.add_src_file([
'test/main.cpp', 'test/main.cpp',
'test/debug.cpp', 'test/debug.cpp',
'test/updateFlow.cpp', 'test/updateFlow.cpp',
@ -20,9 +20,9 @@ def create(target):
'test/equalizer.cpp' 'test/equalizer.cpp'
]) ])
myModule.add_module_depend(['audio-drain', 'gtest', 'etk']) my_module.add_module_depend(['audio-drain', 'gtest', 'etk'])
return myModule return my_module

View File

@ -8,9 +8,9 @@ def get_desc():
def create(target): def create(target):
myModule = module.Module(__file__, 'audio-drain', 'LIBRARY') my_module = module.Module(__file__, 'audio-drain', 'LIBRARY')
myModule.add_src_file([ my_module.add_src_file([
'audio/drain/debug.cpp', 'audio/drain/debug.cpp',
'audio/drain/airtalgo.cpp', 'audio/drain/airtalgo.cpp',
'audio/drain/Algo.cpp', 'audio/drain/Algo.cpp',
@ -29,7 +29,7 @@ def create(target):
'audio/drain/Equalizer.cpp' 'audio/drain/Equalizer.cpp'
]) ])
myModule.add_header_file([ my_module.add_header_file([
'audio/drain/debug.h', 'audio/drain/debug.h',
'audio/drain/debugRemove.h', 'audio/drain/debugRemove.h',
'audio/drain/airtalgo.h', 'audio/drain/airtalgo.h',
@ -49,13 +49,13 @@ def create(target):
'audio/drain/Equalizer.h' 'audio/drain/Equalizer.h'
]) ])
# TODO: myModule.add_optional_module_depend('speexdsp', "HAVE_SPEEX_DSP_RESAMPLE") # TODO: my_module.add_optional_module_depend('speexdsp', "HAVE_SPEEX_DSP_RESAMPLE")
myModule.compile_flags('c++', "-DHAVE_SPEEX_DSP_RESAMPLE") my_module.compile_flags('c++', "-DHAVE_SPEEX_DSP_RESAMPLE")
myModule.add_module_depend(['etk', 'audio', 'ejson', 'speex-dsp', 'audio-algo-drain']) my_module.add_module_depend(['etk', 'audio', 'ejson', 'speex-dsp', 'audio-algo-drain'])
myModule.add_path(tools.get_current_path(__file__)) my_module.add_path(tools.get_current_path(__file__))
# add the currrent module at the # add the currrent module at the
return myModule return my_module

View File

@ -8,26 +8,26 @@ def get_desc():
return "drain_biquad_profiling : basic test and profiling of equalizer work or not" return "drain_biquad_profiling : basic test and profiling of equalizer work or not"
def create(target): def create(target):
myModule = module.Module(__file__, 'drain_biquad_profiling', 'BINARY') my_module = module.Module(__file__, 'drain_biquad_profiling', 'BINARY')
# add the file to compile: # add the file to compile:
myModule.add_src_file([ my_module.add_src_file([
'appl/main.cpp', 'appl/main.cpp',
'appl/debug.cpp', 'appl/debug.cpp',
'appl/Windows.cpp', 'appl/Windows.cpp',
'appl/widget/DisplayFrequency.cpp', 'appl/widget/DisplayFrequency.cpp',
]) ])
# add Library dependency name # add Library dependency name
myModule.add_module_depend(['ewol', 'audio-drain', 'audio-river']) my_module.add_module_depend(['ewol', 'audio-drain', 'audio-river'])
# add application C flags # add application C flags
myModule.compile_flags('c++', [ my_module.compile_flags('c++', [
"-DPROJECT_NAME=\"\\\""+myModule.name+"\\\"\""]) "-DPROJECT_NAME=\"\\\""+my_module.name+"\\\"\""])
# Add current include Path # Add current include Path
myModule.add_path(tools.get_current_path(__file__)) my_module.add_path(tools.get_current_path(__file__))
# copy internal datas # copy internal datas
myModule.copy_folder("data/*") my_module.copy_folder("data/*")
# return the created module # return the created module
return myModule return my_module

View File

@ -8,26 +8,26 @@ def get_desc():
return "drain_equalizer_profiling : basic test and profiling of equalizer work or not" return "drain_equalizer_profiling : basic test and profiling of equalizer work or not"
def create(target): def create(target):
myModule = module.Module(__file__, 'drain_equalizer_profiling', 'BINARY') my_module = module.Module(__file__, 'drain_equalizer_profiling', 'BINARY')
# add the file to compile: # add the file to compile:
myModule.add_src_file([ my_module.add_src_file([
'appl/main.cpp', 'appl/main.cpp',
'appl/debug.cpp', 'appl/debug.cpp',
'appl/Windows.cpp', 'appl/Windows.cpp',
'appl/widget/DisplayFrequency.cpp', 'appl/widget/DisplayFrequency.cpp',
]) ])
# add Library dependency name # add Library dependency name
myModule.add_module_depend(['ewol', 'audio-drain', 'audio-river']) my_module.add_module_depend(['ewol', 'audio-drain', 'audio-river'])
# add application C flags # add application C flags
myModule.compile_flags('c++', [ my_module.compile_flags('c++', [
"-DPROJECT_NAME=\"\\\""+myModule.name+"\\\"\""]) "-DPROJECT_NAME=\"\\\""+my_module.name+"\\\"\""])
# Add current include Path # Add current include Path
myModule.add_path(tools.get_current_path(__file__)) my_module.add_path(tools.get_current_path(__file__))
# copy internal datas # copy internal datas
myModule.copy_folder("data/*") my_module.copy_folder("data/*")
# return the created module # return the created module
return myModule return my_module