[DEV] Update new lutin 2.2.0 (no legacy support)
This commit is contained in:
parent
bf5a43b5bd
commit
2f11ef6e5f
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
import lutin.module as module
|
import lutin.debug as debug
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
|
|
||||||
|
|
||||||
@ -24,8 +24,7 @@ def get_compagny_name():
|
|||||||
def get_maintainer():
|
def get_maintainer():
|
||||||
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
|
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
|
||||||
|
|
||||||
def create(target, module_name):
|
def configure(target, my_module):
|
||||||
my_module = module.Module(__file__, module_name, get_type())
|
|
||||||
my_module.add_depend(['egami', 'test-debug'])
|
my_module.add_depend(['egami', 'test-debug'])
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'sample/main.cpp',
|
'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.bmp')
|
||||||
my_module.copy_path('sample/read.svg')
|
my_module.copy_path('sample/read.svg')
|
||||||
my_module.copy_path('sample/read.png')
|
my_module.copy_path('sample/read.png')
|
||||||
return my_module
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
import lutin.module as module
|
import lutin.debug as debug
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
|
|
||||||
|
|
||||||
@ -24,14 +24,13 @@ def get_compagny_name():
|
|||||||
def get_maintainer():
|
def get_maintainer():
|
||||||
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
|
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
|
||||||
|
|
||||||
def create(target, module_name):
|
def configure(target, my_module):
|
||||||
my_module = module.Module(__file__, module_name, get_type())
|
|
||||||
my_module.add_depend(['egami', 'gtest', 'test-debug'])
|
my_module.add_depend(['egami', 'gtest', 'test-debug'])
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'test/main.cpp'
|
'test/main.cpp'
|
||||||
])
|
])
|
||||||
#my_module.add_export_path(tools.get_current_path(__file__))
|
#my_module.add_export_path(tools.get_current_path(__file__))
|
||||||
return my_module
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
import lutin.module as module
|
import lutin.debug as debug
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
|
|
||||||
|
|
||||||
@ -24,29 +24,34 @@ def get_maintainer():
|
|||||||
def get_version():
|
def get_version():
|
||||||
return "version.txt"
|
return "version.txt"
|
||||||
|
|
||||||
def create(target, module_name):
|
def configure(target, my_module):
|
||||||
my_module = module.Module(__file__, module_name, get_type())
|
|
||||||
my_module.add_extra_flags()
|
my_module.add_extra_flags()
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'egami/Image.cpp',
|
'egami/Image.cpp',
|
||||||
'egami/ImageMono.cpp',
|
'egami/ImageMono.cpp',
|
||||||
'egami/egami.cpp',
|
'egami/egami.cpp',
|
||||||
'egami/debug.cpp',
|
'egami/debug.cpp',
|
||||||
'egami/wrapperPNG.cpp',
|
'egami/wrapperPNG.cpp',
|
||||||
'egami/wrapperSVG.cpp',
|
'egami/wrapperSVG.cpp',
|
||||||
'egami/wrapperBMP.cpp',
|
'egami/wrapperBMP.cpp',
|
||||||
'egami/wrapperEDF.cpp'
|
'egami/wrapperEDF.cpp'
|
||||||
])
|
])
|
||||||
my_module.add_header_file([
|
my_module.add_header_file([
|
||||||
'egami/Image.hpp',
|
'egami/Image.hpp',
|
||||||
'egami/ImageMono.hpp',
|
'egami/ImageMono.hpp',
|
||||||
'egami/egami.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++', [
|
my_module.add_flag('c++', [
|
||||||
'-Wno-write-strings',
|
'-Wno-write-strings',
|
||||||
'-Wall'])
|
'-Wall'
|
||||||
my_module.add_path(tools.get_current_path(__file__))
|
])
|
||||||
return my_module
|
my_module.add_path(".")
|
||||||
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user