[DEV] update to future lutin 2.0

This commit is contained in:
Edouard DUPIN 2016-09-08 21:35:02 +02:00
parent a4b87f0260
commit 796a29f7e2
6 changed files with 12 additions and 12 deletions

View File

@ -29,7 +29,7 @@ def create(target, module_name):
my_module.add_src_file([
'tool/bench-corpus/main.cpp'
])
my_module.add_module_depend([
my_module.add_depend([
'dollar',
'test-debug',
])

View File

@ -29,7 +29,7 @@ def create(target, module_name):
my_module.add_src_file([
'tool/converter/main.cpp'
])
my_module.add_module_depend([
my_module.add_depend([
'dollar',
'test-debug',
])

View File

@ -29,7 +29,7 @@ def create(target, module_name):
my_module.add_src_file([
'tool/generate-form/main.cpp'
])
my_module.add_module_depend([
my_module.add_depend([
'dollar',
'test-debug',
])

View File

@ -29,7 +29,7 @@ def create(target, module_name):
my_module.add_src_file([
'test/main.cpp'
])
my_module.add_module_depend([
my_module.add_depend([
'dollar',
'dollar-data',
'test-debug',

View File

@ -26,7 +26,7 @@ def get_version():
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
my_module.add_extra_compile_flags()
my_module.add_extra_flags()
# add the file to compile:
my_module.add_src_file([
'dollar/debug.cpp',
@ -51,7 +51,7 @@ def create(target, module_name):
# build in C++ mode
my_module.compile_version("c++", 2011)
# add dependency of the generic C++ library:
my_module.add_module_depend([
my_module.add_depend([
'cxx',
'elog',
'etk',

View File

@ -35,26 +35,26 @@ def create(target, module_name):
'appl/Windows.cpp',
'appl/widget/TextAreaRecognition.cpp',
])
my_module.add_module_depend([
my_module.add_depend([
'ewol',
'ejson',
'esvg',
'dollar',
#'dollar-data'
])
my_module.compile_flags('c++', [
"-DPROJECT_NAME=\"\\\"" + my_module.name + "\\\"\"",
my_module.add_flag('c++', [
"-DPROJECT_NAME=\"\\\"" + my_module.get_name() + "\\\"\"",
"-DAPPL_VERSION=\"\\\"" + tools.version_to_string(get_version()) + "\\\"\""
])
my_module.add_path(tools.get_current_path(__file__))
my_module.pkg_set("VERSION_CODE", 1)
my_module.pkg_add("RIGHT", "WRITE_EXTERNAL_STORAGE")
my_module.set_pkg("VERSION_CODE", 1)
my_module.add_pkg("RIGHT", "WRITE_EXTERNAL_STORAGE")
my_module.copy_path('data/icon.*','')
my_module.copy_path("data/freefont/*","fonts/")
my_module.copy_path('data/reference/*', "reference")
my_module.pkg_set("ICON", os.path.join(tools.get_current_path(__file__), "data/icon.png"))
my_module.set_pkg("ICON", os.path.join(tools.get_current_path(__file__), "data/icon.png"))
return my_module