[DEV] create first lutin wrapper

This commit is contained in:
Edouard DUPIN 2015-06-15 18:41:33 +02:00
commit 1c4c933712
4 changed files with 29 additions and 0 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "edtaa3"]
path = edtaa3
url = https://github.com/generic-library/edtaa3.git

6
README.md Normal file
View File

@ -0,0 +1,6 @@
Lutin wrapper
=============
Used to compile the library with lutin builder interface

1
edtaa3 Submodule

@ -0,0 +1 @@
Subproject commit 096f4062894f3aae82190b41f0fc76b76b04972d

19
lutin_edtaa3.py Normal file
View 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