[DEV] update new lutin 0.8.0
This commit is contained in:
parent
651bccc35b
commit
7b2692df89
@ -2,20 +2,31 @@
|
|||||||
import lutin.module as module
|
import lutin.module as module
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
|
|
||||||
|
|
||||||
|
def get_type():
|
||||||
|
return "LIBRARY"
|
||||||
|
|
||||||
def get_desc():
|
def get_desc():
|
||||||
return "edtaa3 library (create distance field from image)"
|
return "edtaa3 library (create distance field from image)"
|
||||||
|
|
||||||
def create(target):
|
def get_licence():
|
||||||
# module name is 'edn' and type binary.
|
return "BSD-2"
|
||||||
my_module = module.Module(__file__, 'edtaa3', 'LIBRARY')
|
|
||||||
# add the file to compile:
|
def get_maintainer():
|
||||||
|
return ["Stefan Gustavson <stefan.gustavson@gmail.com>"]
|
||||||
|
|
||||||
|
def get_version():
|
||||||
|
return [0,5]
|
||||||
|
|
||||||
|
def create(target, module_name):
|
||||||
|
my_module = module.Module(__file__, module_name, get_type())
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'edtaa3/edtaa3func.c'
|
'edtaa3/edtaa3func.c'
|
||||||
])
|
])
|
||||||
my_module.add_header_file([
|
my_module.add_header_file([
|
||||||
'edtaa3/edtaa3func.h'
|
'edtaa3/edtaa3func.h'
|
||||||
])
|
])
|
||||||
my_module.compile_version_CC(1999)
|
my_module.compile_version("C", 1999)
|
||||||
my_module.add_path(tools.get_current_path(__file__))
|
my_module.add_path(tools.get_current_path(__file__))
|
||||||
return my_module
|
return my_module
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user