[DEV] Update new lutin 2.2.0 (no legacy support)
This commit is contained in:
parent
9cb4e88f17
commit
a5efe4f3f9
@ -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,8 +24,7 @@ def get_compagny_name():
|
|||||||
def get_maintainer():
|
def get_maintainer():
|
||||||
return "authors.txt"
|
return "authors.txt"
|
||||||
|
|
||||||
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/main.cpp',
|
'test/main.cpp',
|
||||||
'test/testShared.cpp',
|
'test/testShared.cpp',
|
||||||
@ -38,5 +37,5 @@ def create(target, module_name):
|
|||||||
'gtest',
|
'gtest',
|
||||||
'test-debug'
|
'test-debug'
|
||||||
])
|
])
|
||||||
return my_module
|
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,8 +24,7 @@ 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([
|
||||||
@ -52,7 +51,7 @@ def create(target, module_name):
|
|||||||
my_module.add_depend('cxx')
|
my_module.add_depend('cxx')
|
||||||
my_module.add_optionnal_depend('elog')
|
my_module.add_optionnal_depend('elog')
|
||||||
|
|
||||||
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