[DEV] Update new lutin 2.2.0 (no legacy support)

This commit is contained in:
Edouard DUPIN 2016-10-04 23:41:29 +02:00
parent e9cf69d2fe
commit 57425803c5

View File

@ -1,5 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
import lutin.module as module import lutin.debug as debug
import lutin.tools as tools import lutin.tools as tools
@ -24,17 +24,16 @@ def get_maintainer():
def get_version(): def get_version():
return "version.txt" return "version.txt"
def create(target, module_name): def configure(target, my_module):
my_module = module.Module(__file__, module_name, get_type())
my_module.add_extra_flags() my_module.add_extra_flags()
# add the file to compile: # add the file to compile:
my_module.add_src_file([ my_module.add_src_file([
'ethread/tools.cpp', 'ethread/tools.cpp',
]) ])
my_module.add_header_file([ my_module.add_header_file([
'ethread/tools.hpp', 'ethread/tools.hpp',
]) ])
# build in C++ mode # build in C++ mode
my_module.compile_version("c++", 2011) my_module.compile_version("c++", 2011)
@ -49,7 +48,6 @@ def create(target, module_name):
'pthread' 'pthread'
]) ])
my_module.add_path(tools.get_current_path(__file__)) return True
return my_module