[DEV] create first lutin wrapper
This commit is contained in:
commit
1c4c933712
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[submodule "edtaa3"]
|
||||||
|
path = edtaa3
|
||||||
|
url = https://github.com/generic-library/edtaa3.git
|
6
README.md
Normal file
6
README.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
Lutin wrapper
|
||||||
|
=============
|
||||||
|
|
||||||
|
Used to compile the library with lutin builder interface
|
||||||
|
|
||||||
|
|
1
edtaa3
Submodule
1
edtaa3
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 096f4062894f3aae82190b41f0fc76b76b04972d
|
19
lutin_edtaa3.py
Normal file
19
lutin_edtaa3.py
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
import lutin.module as module
|
||||||
|
import lutin.tools as tools
|
||||||
|
|
||||||
|
def get_desc():
|
||||||
|
return "edtaa3 library (create distance field from image)"
|
||||||
|
|
||||||
|
def create(target):
|
||||||
|
# module name is 'edn' and type binary.
|
||||||
|
myModule = module.Module(__file__, 'edtaa3', 'LIBRARY')
|
||||||
|
# add the file to compile:
|
||||||
|
myModule.add_src_file([
|
||||||
|
'edtaa3/edtaa3func.c'
|
||||||
|
])
|
||||||
|
myModule.compile_version_CC(1999)
|
||||||
|
myModule.add_export_path(tools.get_current_path(__file__))
|
||||||
|
return myModule
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user