[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 bf5a43b5bd
commit 2f11ef6e5f
3 changed files with 34 additions and 31 deletions

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,8 +24,7 @@ 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_depend(['egami', 'test-debug'])
my_module.add_src_file([
'sample/main.cpp',
@ -35,7 +34,7 @@ def create(target, module_name):
my_module.copy_path('sample/read.bmp')
my_module.copy_path('sample/read.svg')
my_module.copy_path('sample/read.png')
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,14 +24,13 @@ 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_depend(['egami', 'gtest', 'test-debug'])
my_module.add_src_file([
'test/main.cpp'
])
#my_module.add_export_path(tools.get_current_path(__file__))
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,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_extra_flags()
my_module.add_src_file([
'egami/Image.cpp',
@ -42,11 +41,17 @@ def create(target, module_name):
'egami/ImageMono.hpp',
'egami/egami.hpp',
])
my_module.add_depend(['etk', 'png', 'esvg', 'edtaa3'])
my_module.add_depend([
'etk',
'png',
'esvg',
'edtaa3'
])
my_module.add_flag('c++', [
'-Wno-write-strings',
'-Wall'])
my_module.add_path(tools.get_current_path(__file__))
return my_module
'-Wall'
])
my_module.add_path(".")
return True