[DEV] Update new lutin 2.2.0 (no legacy support)
This commit is contained in:
parent
390e8a1a1c
commit
bafe1a295b
@ -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,11 +23,13 @@ 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([
|
||||||
'sample/sampleAll.cpp'
|
'sample/sampleAll.cpp'
|
||||||
])
|
])
|
||||||
my_module.add_depend(['eproperty', 'test-debug'])
|
my_module.add_depend([
|
||||||
return my_module
|
'eproperty',
|
||||||
|
'test-debug'
|
||||||
|
])
|
||||||
|
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():
|
||||||
@ -25,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/declareProperties.cpp',
|
'test/declareProperties.cpp',
|
||||||
@ -34,6 +32,10 @@ def create(target, module_name):
|
|||||||
'test/test_range.cpp',
|
'test/test_range.cpp',
|
||||||
'test/test_value.cpp'
|
'test/test_value.cpp'
|
||||||
])
|
])
|
||||||
my_module.add_depend(['eproperty', 'gtest', 'test-debug'])
|
my_module.add_depend([
|
||||||
return my_module
|
'eproperty',
|
||||||
|
'gtest',
|
||||||
|
'test-debug'
|
||||||
|
])
|
||||||
|
return True
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
import lutin.module as module
|
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
import lutin.debug as debug
|
import lutin.debug as debug
|
||||||
import os
|
import os
|
||||||
@ -26,8 +25,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()
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'eproperty/debug.cpp',
|
'eproperty/debug.cpp',
|
||||||
@ -48,10 +46,12 @@ def create(target, module_name):
|
|||||||
'eproperty/details/Range.hxx',
|
'eproperty/details/Range.hxx',
|
||||||
'eproperty/details/Value.hxx',
|
'eproperty/details/Value.hxx',
|
||||||
])
|
])
|
||||||
my_module.add_depend(['etk'])
|
my_module.add_depend([
|
||||||
my_module.add_path(tools.get_current_path(__file__))
|
'etk'
|
||||||
|
])
|
||||||
|
my_module.add_path(".")
|
||||||
my_module.add_flag('c++', [
|
my_module.add_flag('c++', [
|
||||||
"-DEPROPERTY_VERSION=\"\\\"" + tools.version_to_string(get_version()) + "\\\"\""
|
"-DEPROPERTY_VERSION=\"\\\"" + tools.version_to_string(get_version()) + "\\\"\""
|
||||||
])
|
])
|
||||||
return my_module
|
return True
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user