[DEV] uptate new lutin declaration model
This commit is contained in:
parent
cae3f0d4c0
commit
0fd2bc13af
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,3 +1,8 @@
|
|||||||
|
__pycache__
|
||||||
|
.bck
|
||||||
|
out
|
||||||
|
target
|
||||||
|
build
|
||||||
# Compiled Object files
|
# Compiled Object files
|
||||||
*.slo
|
*.slo
|
||||||
*.lo
|
*.lo
|
||||||
|
26
GLD_eproperty-sample.json
Normal file
26
GLD_eproperty-sample.json
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"type":"BINARY",
|
||||||
|
"sub-type":"SAMPLE",
|
||||||
|
"group-id":"com.atria-soft",
|
||||||
|
"description":"e-property sample 1",
|
||||||
|
"license":"MPL-2",
|
||||||
|
"license-file":"file://LICENCE.txt",
|
||||||
|
"maintainer":"file://authors.txt",
|
||||||
|
"author":"file://authors.txt",
|
||||||
|
"version":"file://version.txt",
|
||||||
|
"code-quality":"MEDIUM",
|
||||||
|
|
||||||
|
"source": [
|
||||||
|
"sample/sampleAll.cpp"
|
||||||
|
],
|
||||||
|
"header": [
|
||||||
|
"algue/base64.hpp",
|
||||||
|
"algue/sha1.hpp",
|
||||||
|
"algue/sha512.hpp",
|
||||||
|
"algue/md5.hpp"
|
||||||
|
],
|
||||||
|
"dependency": [
|
||||||
|
"eproperty",
|
||||||
|
"test-debug"
|
||||||
|
]
|
||||||
|
}
|
25
GLD_eproperty-test.json
Normal file
25
GLD_eproperty-test.json
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{
|
||||||
|
"type":"BINARY",
|
||||||
|
"sub-type":"TEST",
|
||||||
|
"group-id":"com.atria-soft",
|
||||||
|
"description":"e-property test software",
|
||||||
|
"license":"MPL-2",
|
||||||
|
"license-file":"file://LICENCE.txt",
|
||||||
|
"maintainer":"file://authors.txt",
|
||||||
|
"author":"file://authors.txt",
|
||||||
|
"version":"file://version.txt",
|
||||||
|
"code-quality":"MEDIUM",
|
||||||
|
|
||||||
|
"source": [
|
||||||
|
"test/main.cpp",
|
||||||
|
"test/declareProperties.cpp",
|
||||||
|
"test/test_list.cpp",
|
||||||
|
"test/test_range.cpp",
|
||||||
|
"test/test_value.cpp"
|
||||||
|
],
|
||||||
|
"dependency": [
|
||||||
|
"eproperty",
|
||||||
|
"etest",
|
||||||
|
"test-debug"
|
||||||
|
]
|
||||||
|
}
|
47
GLD_eproperty.json
Normal file
47
GLD_eproperty.json
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
{
|
||||||
|
"type":"LIBRARY",
|
||||||
|
"group-id":"com.atria-soft",
|
||||||
|
"description":"eproperty is a property interface for basic class",
|
||||||
|
"license":"MPL-2",
|
||||||
|
"license-file":"file://LICENCE.txt",
|
||||||
|
"maintainer":"file://authors.txt",
|
||||||
|
"author":"file://authors.txt",
|
||||||
|
"version":"file://version.txt",
|
||||||
|
"code-quality":"MEDIUM",
|
||||||
|
|
||||||
|
"source": [
|
||||||
|
"eproperty/debug.cpp",
|
||||||
|
"eproperty/Property.cpp",
|
||||||
|
"eproperty/InterfaceData.cpp",
|
||||||
|
"eproperty/details/Range.cpp",
|
||||||
|
"eproperty/details/Value.cpp"
|
||||||
|
],
|
||||||
|
"header": [
|
||||||
|
"eproperty/debug.hpp",
|
||||||
|
"eproperty/Value.hpp",
|
||||||
|
"eproperty/Interface.hpp",
|
||||||
|
"eproperty/InterfaceData.hpp",
|
||||||
|
"eproperty/Property.hpp",
|
||||||
|
"eproperty/PropertyType.hpp",
|
||||||
|
"eproperty/Range.hpp",
|
||||||
|
"eproperty/List.hpp",
|
||||||
|
"eproperty/details/Range.hxx",
|
||||||
|
"eproperty/details/Value.hxx"
|
||||||
|
],
|
||||||
|
"path":[
|
||||||
|
"."
|
||||||
|
],
|
||||||
|
"compilation-version": {
|
||||||
|
"language": "c++",
|
||||||
|
"version": 2017
|
||||||
|
},
|
||||||
|
"dependency": [
|
||||||
|
"etk"
|
||||||
|
],
|
||||||
|
"flag": {
|
||||||
|
"language": "c++",
|
||||||
|
"value": [
|
||||||
|
"-DEPROPERTY_VERSION=\"{{{project.version}}}\""
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
@ -1,35 +0,0 @@
|
|||||||
#!/usr/bin/python
|
|
||||||
import realog.debug as debug
|
|
||||||
import lutin.tools as tools
|
|
||||||
|
|
||||||
def get_type():
|
|
||||||
return "BINARY"
|
|
||||||
|
|
||||||
def get_sub_type():
|
|
||||||
return "SAMPLE"
|
|
||||||
|
|
||||||
def get_desc():
|
|
||||||
return "e-property sample 1"
|
|
||||||
|
|
||||||
def get_licence():
|
|
||||||
return "MPL-2"
|
|
||||||
|
|
||||||
def get_compagny_type():
|
|
||||||
return "com"
|
|
||||||
|
|
||||||
def get_compagny_name():
|
|
||||||
return "atria-soft"
|
|
||||||
|
|
||||||
def get_maintainer():
|
|
||||||
return "authors.txt"
|
|
||||||
|
|
||||||
def configure(target, my_module):
|
|
||||||
my_module.add_src_file([
|
|
||||||
'sample/sampleAll.cpp'
|
|
||||||
])
|
|
||||||
my_module.add_depend([
|
|
||||||
'eproperty',
|
|
||||||
'test-debug'
|
|
||||||
])
|
|
||||||
return True
|
|
||||||
|
|
@ -1,41 +0,0 @@
|
|||||||
#!/usr/bin/python
|
|
||||||
import realog.debug as debug
|
|
||||||
import lutin.tools as tools
|
|
||||||
|
|
||||||
|
|
||||||
def get_type():
|
|
||||||
return "BINARY"
|
|
||||||
|
|
||||||
def get_sub_type():
|
|
||||||
return "TEST"
|
|
||||||
|
|
||||||
def get_desc():
|
|
||||||
return "e-property test software"
|
|
||||||
|
|
||||||
def get_licence():
|
|
||||||
return "MPL-2"
|
|
||||||
|
|
||||||
def get_compagny_type():
|
|
||||||
return "com"
|
|
||||||
|
|
||||||
def get_compagny_name():
|
|
||||||
return "atria-soft"
|
|
||||||
|
|
||||||
def get_maintainer():
|
|
||||||
return "authors.txt"
|
|
||||||
|
|
||||||
def configure(target, my_module):
|
|
||||||
my_module.add_src_file([
|
|
||||||
'test/main.cpp',
|
|
||||||
'test/declareProperties.cpp',
|
|
||||||
'test/test_list.cpp',
|
|
||||||
'test/test_range.cpp',
|
|
||||||
'test/test_value.cpp'
|
|
||||||
])
|
|
||||||
my_module.add_depend([
|
|
||||||
'eproperty',
|
|
||||||
'etest',
|
|
||||||
'test-debug'
|
|
||||||
])
|
|
||||||
return True
|
|
||||||
|
|
@ -1,57 +0,0 @@
|
|||||||
#!/usr/bin/python
|
|
||||||
import lutin.tools as tools
|
|
||||||
import realog.debug as debug
|
|
||||||
import os
|
|
||||||
|
|
||||||
|
|
||||||
def get_type():
|
|
||||||
return "LIBRARY"
|
|
||||||
|
|
||||||
def get_desc():
|
|
||||||
return "eproperty is a property interface for basic class"
|
|
||||||
|
|
||||||
def get_licence():
|
|
||||||
return "MPL-2"
|
|
||||||
|
|
||||||
def get_compagny_type():
|
|
||||||
return "com"
|
|
||||||
|
|
||||||
def get_compagny_name():
|
|
||||||
return "atria-soft"
|
|
||||||
|
|
||||||
def get_maintainer():
|
|
||||||
return "authors.txt"
|
|
||||||
|
|
||||||
def get_version():
|
|
||||||
return "version.txt"
|
|
||||||
|
|
||||||
def configure(target, my_module):
|
|
||||||
my_module.add_extra_flags()
|
|
||||||
my_module.add_src_file([
|
|
||||||
'eproperty/debug.cpp',
|
|
||||||
'eproperty/Property.cpp',
|
|
||||||
'eproperty/InterfaceData.cpp',
|
|
||||||
'eproperty/details/Range.cpp',
|
|
||||||
'eproperty/details/Value.cpp',
|
|
||||||
])
|
|
||||||
my_module.add_header_file([
|
|
||||||
'eproperty/debug.hpp',
|
|
||||||
'eproperty/Value.hpp',
|
|
||||||
'eproperty/Interface.hpp',
|
|
||||||
'eproperty/InterfaceData.hpp',
|
|
||||||
'eproperty/Property.hpp',
|
|
||||||
'eproperty/PropertyType.hpp',
|
|
||||||
'eproperty/Range.hpp',
|
|
||||||
'eproperty/List.hpp',
|
|
||||||
'eproperty/details/Range.hxx',
|
|
||||||
'eproperty/details/Value.hxx',
|
|
||||||
])
|
|
||||||
my_module.add_depend([
|
|
||||||
'etk'
|
|
||||||
])
|
|
||||||
my_module.add_path(".")
|
|
||||||
my_module.add_flag('c++', [
|
|
||||||
"-DEPROPERTY_VERSION=\"\\\"" + tools.version_to_string(get_version()) + "\\\"\""
|
|
||||||
])
|
|
||||||
return True
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user