[DEV] Update new lutin 2.2.0 (no legacy support)
This commit is contained in:
parent
653a584958
commit
3a91ef8b94
@ -1,7 +1,6 @@
|
||||
#!/usr/bin/python
|
||||
import lutin.module as module
|
||||
import lutin.debug as debug
|
||||
import lutin.tools as tools
|
||||
import datetime
|
||||
|
||||
def get_type():
|
||||
return "BINARY"
|
||||
@ -24,8 +23,7 @@ def get_compagny_name():
|
||||
def get_maintainer():
|
||||
return "authors.txt"
|
||||
|
||||
def create(target, module_name):
|
||||
my_module = module.Module(__file__, module_name, get_type())
|
||||
def configure(target, my_module):
|
||||
my_module.add_src_file([
|
||||
'sample/main.cpp',
|
||||
'sample/read.cpp',
|
||||
@ -36,5 +34,5 @@ def create(target, module_name):
|
||||
'test-debug'
|
||||
])
|
||||
my_module.copy_path('sample/read.xml')
|
||||
return my_module
|
||||
return True
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
#!/usr/bin/python
|
||||
import lutin.module as module
|
||||
import lutin.debug as debug
|
||||
import lutin.tools as tools
|
||||
import datetime
|
||||
|
||||
|
||||
def get_type():
|
||||
@ -28,8 +27,7 @@ def get_compagny_name():
|
||||
def get_maintainer():
|
||||
return "authors.txt"
|
||||
|
||||
def create(target, module_name):
|
||||
my_module = module.Module(__file__, module_name, get_type())
|
||||
def configure(target, my_module):
|
||||
my_module.add_src_file([
|
||||
'test/main.cpp',
|
||||
'test/exmlTestAll.cpp',
|
||||
@ -44,6 +42,10 @@ def create(target, module_name):
|
||||
'test/exmlTestParseAttribute.cpp',
|
||||
'test/exmlTestParseDeclaration.cpp'
|
||||
])
|
||||
my_module.add_depend(['exml', 'gtest', 'test-debug'])
|
||||
return my_module
|
||||
my_module.add_depend([
|
||||
'exml',
|
||||
'gtest',
|
||||
'test-debug'
|
||||
])
|
||||
return True
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/python
|
||||
import lutin.module as module
|
||||
import lutin.debug as debug
|
||||
import lutin.tools as tools
|
||||
|
||||
|
||||
@ -24,8 +24,7 @@ def get_maintainer():
|
||||
def get_version():
|
||||
return "version.txt"
|
||||
|
||||
def create(target, module_name):
|
||||
my_module = module.Module(__file__, module_name, get_type())
|
||||
def configure(target, my_module):
|
||||
my_module.add_depend(['elog', 'etk', 'ememory'])
|
||||
my_module.add_extra_flags()
|
||||
my_module.add_src_file([
|
||||
@ -73,7 +72,7 @@ def create(target, module_name):
|
||||
'exml/internal/Node.hpp',
|
||||
'exml/internal/Text.hpp'
|
||||
])
|
||||
my_module.add_path(tools.get_current_path(__file__))
|
||||
return my_module
|
||||
my_module.add_path(".")
|
||||
return True
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user