commit 1c4c9337120edc4523706a8df62edc0fdb4fe853 Author: Edouard DUPIN Date: Mon Jun 15 18:41:33 2015 +0200 [DEV] create first lutin wrapper diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..9cfa0d1 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "edtaa3"] + path = edtaa3 + url = https://github.com/generic-library/edtaa3.git diff --git a/README.md b/README.md new file mode 100644 index 0000000..08e5ea0 --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +Lutin wrapper +============= + +Used to compile the library with lutin builder interface + + diff --git a/edtaa3 b/edtaa3 new file mode 160000 index 0000000..096f406 --- /dev/null +++ b/edtaa3 @@ -0,0 +1 @@ +Subproject commit 096f4062894f3aae82190b41f0fc76b76b04972d diff --git a/lutin_edtaa3.py b/lutin_edtaa3.py new file mode 100644 index 0000000..3db6c0f --- /dev/null +++ b/lutin_edtaa3.py @@ -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 + +