diff --git a/.gitignore b/.gitignore index e5fcee4..2748ba5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,8 @@ +__pycache__ +.bck +out +target +build # Compiled Object files *.slo *.lo diff --git a/GLD_eproperty-sample.json b/GLD_eproperty-sample.json new file mode 100644 index 0000000..0be9ab9 --- /dev/null +++ b/GLD_eproperty-sample.json @@ -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" + ] +} \ No newline at end of file diff --git a/GLD_eproperty-test.json b/GLD_eproperty-test.json new file mode 100644 index 0000000..d4fea18 --- /dev/null +++ b/GLD_eproperty-test.json @@ -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" + ] +} \ No newline at end of file diff --git a/GLD_eproperty.json b/GLD_eproperty.json new file mode 100644 index 0000000..7f26abb --- /dev/null +++ b/GLD_eproperty.json @@ -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}}}\"" + ] + } +} \ No newline at end of file diff --git a/lutin_eproperty-sample.py b/lutin_eproperty-sample.py deleted file mode 100644 index fa086de..0000000 --- a/lutin_eproperty-sample.py +++ /dev/null @@ -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 - diff --git a/lutin_eproperty-test.py b/lutin_eproperty-test.py deleted file mode 100644 index 814dbdb..0000000 --- a/lutin_eproperty-test.py +++ /dev/null @@ -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 - diff --git a/lutin_eproperty.py b/lutin_eproperty.py deleted file mode 100644 index 21e94b0..0000000 --- a/lutin_eproperty.py +++ /dev/null @@ -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 -