[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 185bc5a21c
commit 7a217bfbd2
4 changed files with 79 additions and 72 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,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

View File

@ -1,5 +1,4 @@
#!/usr/bin/python
import lutin.module as module
import lutin.tools as tools
import lutin.debug as debug
@ -25,8 +24,7 @@ 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',
@ -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

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,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'])
my_module.add_flag('c++', [
"-DPROJECT_NAME=\"\\\""+my_module.name+"\\\"\""
my_module.add_depend([
'ewol',
'audio-drain',
'audio-river'
])
my_module.add_path(tools.get_current_path(__file__))
my_module.add_flag('c++', [
"-DPROJECT_NAME=\"\\\""+my_module.get_name()+"\\\"\""
])
my_module.add_path(".")
my_module.copy_path("data/*")
return my_module
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,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'])
my_module.add_flag('c++', [
"-DPROJECT_NAME=\"\\\""+my_module.name+"\\\"\""
my_module.add_depend([
'ewol',
'audio-drain',
'audio-river'
])
my_module.add_path(tools.get_current_path(__file__))
my_module.add_flag('c++', [
"-DPROJECT_NAME=\"\\\""+my_module.get_name()+"\\\"\""
])
my_module.add_path(".")
my_module.copy_path("data/*")
return my_module
return True