[DEV] Update new lutin 2.2.0 (no legacy support)
This commit is contained in:
parent
185bc5a21c
commit
7a217bfbd2
@ -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,8 +24,7 @@ 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',
|
||||
'test/updateFlow.cpp',
|
||||
@ -35,8 +33,13 @@ def create(target, module_name):
|
||||
'test/channelOrder.cpp',
|
||||
'test/equalizer.cpp'
|
||||
])
|
||||
my_module.add_depend(['audio-drain', 'gtest', 'etk', 'test-debug'])
|
||||
return my_module
|
||||
my_module.add_depend([
|
||||
'audio-drain',
|
||||
'gtest',
|
||||
'etk',
|
||||
'test-debug'
|
||||
])
|
||||
return True
|
||||
|
||||
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
import lutin.module as module
|
||||
import lutin.tools as tools
|
||||
import lutin.debug as debug
|
||||
|
||||
@ -25,47 +24,46 @@ 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/drain/debug.cpp',
|
||||
'audio/drain/airtalgo.cpp',
|
||||
'audio/drain/Algo.cpp',
|
||||
'audio/drain/ChannelReorder.cpp',
|
||||
'audio/drain/CircularBuffer.cpp',
|
||||
'audio/drain/EndPointCallback.cpp',
|
||||
'audio/drain/EndPoint.cpp',
|
||||
'audio/drain/EndPointRead.cpp',
|
||||
'audio/drain/EndPointWrite.cpp',
|
||||
'audio/drain/FormatUpdate.cpp',
|
||||
'audio/drain/Process.cpp',
|
||||
'audio/drain/Resampler.cpp',
|
||||
'audio/drain/Volume.cpp',
|
||||
'audio/drain/IOFormatInterface.cpp',
|
||||
'audio/drain/AutoLogInOut.cpp',
|
||||
'audio/drain/Equalizer.cpp'
|
||||
])
|
||||
'audio/drain/debug.cpp',
|
||||
'audio/drain/airtalgo.cpp',
|
||||
'audio/drain/Algo.cpp',
|
||||
'audio/drain/ChannelReorder.cpp',
|
||||
'audio/drain/CircularBuffer.cpp',
|
||||
'audio/drain/EndPointCallback.cpp',
|
||||
'audio/drain/EndPoint.cpp',
|
||||
'audio/drain/EndPointRead.cpp',
|
||||
'audio/drain/EndPointWrite.cpp',
|
||||
'audio/drain/FormatUpdate.cpp',
|
||||
'audio/drain/Process.cpp',
|
||||
'audio/drain/Resampler.cpp',
|
||||
'audio/drain/Volume.cpp',
|
||||
'audio/drain/IOFormatInterface.cpp',
|
||||
'audio/drain/AutoLogInOut.cpp',
|
||||
'audio/drain/Equalizer.cpp'
|
||||
])
|
||||
|
||||
my_module.add_header_file([
|
||||
'audio/drain/debug.hpp',
|
||||
'audio/drain/debugRemove.hpp',
|
||||
'audio/drain/airtalgo.hpp',
|
||||
'audio/drain/Algo.hpp',
|
||||
'audio/drain/ChannelReorder.hpp',
|
||||
'audio/drain/CircularBuffer.hpp',
|
||||
'audio/drain/EndPointCallback.hpp',
|
||||
'audio/drain/EndPoint.hpp',
|
||||
'audio/drain/EndPointRead.hpp',
|
||||
'audio/drain/EndPointWrite.hpp',
|
||||
'audio/drain/FormatUpdate.hpp',
|
||||
'audio/drain/Process.hpp',
|
||||
'audio/drain/Resampler.hpp',
|
||||
'audio/drain/Volume.hpp',
|
||||
'audio/drain/IOFormatInterface.hpp',
|
||||
'audio/drain/AutoLogInOut.hpp',
|
||||
'audio/drain/Equalizer.hpp'
|
||||
])
|
||||
'audio/drain/debug.hpp',
|
||||
'audio/drain/debugRemove.hpp',
|
||||
'audio/drain/airtalgo.hpp',
|
||||
'audio/drain/Algo.hpp',
|
||||
'audio/drain/ChannelReorder.hpp',
|
||||
'audio/drain/CircularBuffer.hpp',
|
||||
'audio/drain/EndPointCallback.hpp',
|
||||
'audio/drain/EndPoint.hpp',
|
||||
'audio/drain/EndPointRead.hpp',
|
||||
'audio/drain/EndPointWrite.hpp',
|
||||
'audio/drain/FormatUpdate.hpp',
|
||||
'audio/drain/Process.hpp',
|
||||
'audio/drain/Resampler.hpp',
|
||||
'audio/drain/Volume.hpp',
|
||||
'audio/drain/IOFormatInterface.hpp',
|
||||
'audio/drain/AutoLogInOut.hpp',
|
||||
'audio/drain/Equalizer.hpp'
|
||||
])
|
||||
|
||||
# TODO: my_module.add_optional_module_depend('speexdsp', "HAVE_SPEEX_DSP_RESAMPLE")
|
||||
my_module.add_flag('c++', "-DHAVE_SPEEX_DSP_RESAMPLE")
|
||||
@ -76,8 +74,8 @@ def create(target, module_name):
|
||||
'speex-dsp',
|
||||
'audio-algo-drain'
|
||||
])
|
||||
my_module.add_path(tools.get_current_path(__file__))
|
||||
return my_module
|
||||
my_module.add_path(".")
|
||||
return True
|
||||
|
||||
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/python
|
||||
import lutin.module as module
|
||||
import lutin.debug as debug
|
||||
import lutin.tools as tools
|
||||
|
||||
|
||||
@ -24,21 +24,24 @@ 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([
|
||||
'appl/main.cpp',
|
||||
'appl/debug.cpp',
|
||||
'appl/Windows.cpp',
|
||||
'appl/widget/DisplayFrequency.cpp',
|
||||
])
|
||||
my_module.add_depend(['ewol', 'audio-drain', 'audio-river'])
|
||||
'appl/main.cpp',
|
||||
'appl/debug.cpp',
|
||||
'appl/Windows.cpp',
|
||||
'appl/widget/DisplayFrequency.cpp',
|
||||
])
|
||||
my_module.add_depend([
|
||||
'ewol',
|
||||
'audio-drain',
|
||||
'audio-river'
|
||||
])
|
||||
my_module.add_flag('c++', [
|
||||
"-DPROJECT_NAME=\"\\\""+my_module.name+"\\\"\""
|
||||
])
|
||||
my_module.add_path(tools.get_current_path(__file__))
|
||||
"-DPROJECT_NAME=\"\\\""+my_module.get_name()+"\\\"\""
|
||||
])
|
||||
my_module.add_path(".")
|
||||
my_module.copy_path("data/*")
|
||||
return my_module
|
||||
return True
|
||||
|
||||
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/python
|
||||
import lutin.module as module
|
||||
import lutin.debug as debug
|
||||
import lutin.tools as tools
|
||||
|
||||
|
||||
@ -24,21 +24,24 @@ 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([
|
||||
'appl/main.cpp',
|
||||
'appl/debug.cpp',
|
||||
'appl/Windows.cpp',
|
||||
'appl/widget/DisplayFrequency.cpp',
|
||||
])
|
||||
my_module.add_depend(['ewol', 'audio-drain', 'audio-river'])
|
||||
'appl/main.cpp',
|
||||
'appl/debug.cpp',
|
||||
'appl/Windows.cpp',
|
||||
'appl/widget/DisplayFrequency.cpp',
|
||||
])
|
||||
my_module.add_depend([
|
||||
'ewol',
|
||||
'audio-drain',
|
||||
'audio-river'
|
||||
])
|
||||
my_module.add_flag('c++', [
|
||||
"-DPROJECT_NAME=\"\\\""+my_module.name+"\\\"\""
|
||||
])
|
||||
my_module.add_path(tools.get_current_path(__file__))
|
||||
"-DPROJECT_NAME=\"\\\""+my_module.get_name()+"\\\"\""
|
||||
])
|
||||
my_module.add_path(".")
|
||||
my_module.copy_path("data/*")
|
||||
return my_module
|
||||
return True
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user