[DEV] update new lutin 0.8.0
This commit is contained in:
parent
c9d27bcbb2
commit
324a951c3c
@ -2,27 +2,35 @@
|
|||||||
import lutin.module as module
|
import lutin.module as module
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
|
|
||||||
|
|
||||||
|
def get_type():
|
||||||
|
return "BINARY"
|
||||||
|
|
||||||
|
def get_sub_type():
|
||||||
|
return "TEST"
|
||||||
|
|
||||||
def get_desc():
|
def get_desc():
|
||||||
return "Test software for egami"
|
return "Test software for egami"
|
||||||
|
|
||||||
def get_licence():
|
def get_licence():
|
||||||
return {
|
return "APACHE-2"
|
||||||
"assimilate":"APACHE2",
|
|
||||||
"type":"APACHE-2.0"
|
|
||||||
}
|
|
||||||
|
|
||||||
def create(target):
|
def get_compagny_type():
|
||||||
my_module = module.Module(__file__, 'egami-test', 'BINARY')
|
return "com"
|
||||||
|
|
||||||
|
def get_compagny_name():
|
||||||
|
return "atria-soft"
|
||||||
|
|
||||||
|
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())
|
||||||
my_module.add_module_depend(['egami', 'gtest', 'test-debug'])
|
my_module.add_module_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__))
|
|
||||||
|
|
||||||
# add the currrent module at the
|
|
||||||
return my_module
|
return my_module
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,16 +2,31 @@
|
|||||||
import lutin.module as module
|
import lutin.module as module
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
|
|
||||||
def get_desc():
|
|
||||||
return "e-gami library (image generator from multiple image type)"
|
|
||||||
|
|
||||||
def create(target):
|
def get_type():
|
||||||
# module name is 'edn' and type binary.
|
return "LIBRARY"
|
||||||
my_module = module.Module(__file__, 'egami', 'LIBRARY')
|
|
||||||
|
def get_desc():
|
||||||
# add extra compilation flags :
|
return "image generator from multiple image type"
|
||||||
|
|
||||||
|
def get_licence():
|
||||||
|
return "APACHE-2"
|
||||||
|
|
||||||
|
def get_compagny_type():
|
||||||
|
return "com"
|
||||||
|
|
||||||
|
def get_compagny_name():
|
||||||
|
return "atria-soft"
|
||||||
|
|
||||||
|
def get_maintainer():
|
||||||
|
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
|
||||||
|
|
||||||
|
def get_version():
|
||||||
|
return [0,0,0]
|
||||||
|
|
||||||
|
def create(target, module_name):
|
||||||
|
my_module = module.Module(__file__, module_name, get_type())
|
||||||
my_module.add_extra_compile_flags()
|
my_module.add_extra_compile_flags()
|
||||||
# add the file to compile:
|
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'egami/Image.cpp',
|
'egami/Image.cpp',
|
||||||
'egami/ImageMono.cpp',
|
'egami/ImageMono.cpp',
|
||||||
@ -20,24 +35,18 @@ def create(target):
|
|||||||
'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.h',
|
'egami/Image.h',
|
||||||
'egami/ImageMono.h',
|
'egami/ImageMono.h',
|
||||||
'egami/egami.h',
|
'egami/egami.h',
|
||||||
])
|
])
|
||||||
|
|
||||||
# name of the dependency
|
|
||||||
my_module.add_module_depend(['etk', 'png', 'esvg', 'edtaa3'])
|
my_module.add_module_depend(['etk', 'png', 'esvg', 'edtaa3'])
|
||||||
|
|
||||||
my_module.compile_flags('c++', [
|
my_module.compile_flags('c++', [
|
||||||
'-Wno-write-strings',
|
'-Wno-write-strings',
|
||||||
'-Wall'])
|
'-Wall'])
|
||||||
|
|
||||||
my_module.add_path(tools.get_current_path(__file__))
|
my_module.add_path(tools.get_current_path(__file__))
|
||||||
|
|
||||||
# add the currrent module at the
|
|
||||||
return my_module
|
return my_module
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user