[DEV] Update new lutin 2.2.0 (no legacy support)
This commit is contained in:
parent
8135c166db
commit
71998543f4
@ -1,7 +1,6 @@
|
|||||||
#!/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
|
||||||
import datetime
|
|
||||||
|
|
||||||
def get_type():
|
def get_type():
|
||||||
return "BINARY"
|
return "BINARY"
|
||||||
@ -24,14 +23,16 @@ def get_compagny_name():
|
|||||||
def get_maintainer():
|
def get_maintainer():
|
||||||
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
|
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
|
||||||
|
|
||||||
def create(target, module_name):
|
def configure(target, my_module):
|
||||||
my_module = module.Module(__file__, module_name, get_type())
|
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'sample/main.cpp',
|
'sample/main.cpp',
|
||||||
'sample/read.cpp',
|
'sample/read.cpp',
|
||||||
'sample/write.cpp'
|
'sample/write.cpp'
|
||||||
])
|
])
|
||||||
my_module.add_depend(['ejson', 'test-debug'])
|
my_module.add_depend([
|
||||||
|
'ejson',
|
||||||
|
'test-debug'
|
||||||
|
])
|
||||||
my_module.copy_path('sample/read.json')
|
my_module.copy_path('sample/read.json')
|
||||||
return my_module
|
return True
|
||||||
|
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
#!/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
|
||||||
import datetime
|
|
||||||
|
|
||||||
|
|
||||||
def get_type():
|
def get_type():
|
||||||
@ -28,11 +27,14 @@ def get_compagny_name():
|
|||||||
def get_maintainer():
|
def get_maintainer():
|
||||||
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
|
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
|
||||||
|
|
||||||
def create(target, module_name):
|
def configure(target, my_module):
|
||||||
my_module = module.Module(__file__, module_name, get_type())
|
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'test/test.cpp'
|
'test/test.cpp'
|
||||||
])
|
])
|
||||||
my_module.add_depend(['ejson', 'gtest', 'test-debug'])
|
my_module.add_depend([
|
||||||
return my_module
|
'ejson',
|
||||||
|
'gtest',
|
||||||
|
'test-debug'
|
||||||
|
])
|
||||||
|
return True
|
||||||
|
|
||||||
|
@ -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,9 +24,12 @@ 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_depend([
|
||||||
my_module.add_depend(['elog', 'etk', 'ememory'])
|
'elog',
|
||||||
|
'etk',
|
||||||
|
'ememory'
|
||||||
|
])
|
||||||
my_module.add_extra_flags()
|
my_module.add_extra_flags()
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'ejson/debug.cpp',
|
'ejson/debug.cpp',
|
||||||
@ -72,7 +75,7 @@ def create(target, module_name):
|
|||||||
'ejson/internal/Object.hpp',
|
'ejson/internal/Object.hpp',
|
||||||
'ejson/internal/Value.hpp'
|
'ejson/internal/Value.hpp'
|
||||||
])
|
])
|
||||||
my_module.add_path(tools.get_current_path(__file__))
|
my_module.add_path(".")
|
||||||
return my_module
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user