diff --git a/.gitignore b/.gitignore index 11b29ce..91381ef 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,8 @@ +__pycache__ +.bck +out +target +build # Compiled Object files *.slo *.lo diff --git a/GLD_esignal-sample.json b/GLD_esignal-sample.json new file mode 100644 index 0000000..d96f72c --- /dev/null +++ b/GLD_esignal-sample.json @@ -0,0 +1,19 @@ +{ + "type":"BINARY", + "sub-type":"SAMPLE", + "group-id":"com.atria-soft", + "description":"e-signal sample 1", + "license":"MPL-2", + "license-file":"file://LICENCE.txt", + "maintainer":"file://authors.txt", + "author":"file://authors.txt", + "version":"file://version.txt", + + "source": [ + "sample/sampleAll.cpp" + ], + "dependency": [ + "esignal", + "test-debug" + ] +} \ No newline at end of file diff --git a/GLD_esignal-test.json b/GLD_esignal-test.json new file mode 100644 index 0000000..137108a --- /dev/null +++ b/GLD_esignal-test.json @@ -0,0 +1,27 @@ +{ + "type":"BINARY", + "sub-type":"TEST", + "group-id":"com.atria-soft", + "description":"e-signal test software", + "license":"MPL-2", + "license-file":"file://LICENCE.txt", + "maintainer":"file://authors.txt", + "author":"file://authors.txt", + "version":"file://version.txt", + + "source": [ + "test/main.cpp", + "test/declareSignals.cpp", + "test/test_signal_counter.cpp", + "test/test_signal_class_func.cpp", + "test/test_signal_recursive.cpp", + "test/test_signal_shared_ptr_func.cpp", + "test/test_signal_static_func.cpp", + "test/test_isignal.cpp" + ], + "dependency": [ + "esignal", + "etest", + "test-debug" + ] +} \ No newline at end of file diff --git a/GLD_esignal.json b/GLD_esignal.json new file mode 100644 index 0000000..cffb16e --- /dev/null +++ b/GLD_esignal.json @@ -0,0 +1,53 @@ +{ + "type":"LIBRARY", + "group-id":"com.atria-soft", + "description":"esignal is signal management for all class", + "license":"MPL-2", + "license-file":"file://LICENCE.txt", + "maintainer":"file://authors.txt", + "author":"file://authors.txt", + "version":"file://version.txt", + + "source": [ + "esignal/debug.cpp", + "esignal/Connection.cpp", + "esignal/InterfaceData.cpp", + "esignal/Base.cpp", + "esignal/details/Signal.cpp" + ], + "header": [ + "esignal/debug.hpp", + "esignal/Interface.hpp", + "esignal/InterfaceData.hpp", + "esignal/Base.hpp", + "esignal/Signal.hpp", + "esignal/Connection.hpp", + "esignal/details/Signal.hxx" + ], + "path":[ + "." + ], + "compilation-version": { + "language": "c++", + "version": 2011 + }, + "dependency": [ + "etk", + "ememory", + { + "name": "echrono", + "optional": true, + "export": false, + "flag": { + "language": "c++", + "value": "-DESIGNAL_BUILD_WITH_ECHRONO" + } + } + ], + "flag": { + "language": "c++", + "value": [ + "-DESIGNAL_VERSION=\"{{{project.version}}}\"" + ] + } +} diff --git a/lutin_esignal-sample.py b/lutin_esignal-sample.py deleted file mode 100644 index 7daa9d1..0000000 --- a/lutin_esignal-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-signal 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([ - 'esignal', - 'test-debug' - ]) - return True - diff --git a/lutin_esignal-test.py b/lutin_esignal-test.py deleted file mode 100644 index 6628adc..0000000 --- a/lutin_esignal-test.py +++ /dev/null @@ -1,44 +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-signal 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/declareSignals.cpp', - 'test/test_signal_counter.cpp', - 'test/test_signal_class_func.cpp', - 'test/test_signal_recursive.cpp', - 'test/test_signal_shared_ptr_func.cpp', - 'test/test_signal_static_func.cpp', - 'test/test_isignal.cpp' - ]) - my_module.add_depend([ - 'esignal', - 'etest', - 'test-debug' - ]) - return True - diff --git a/lutin_esignal.py b/lutin_esignal.py deleted file mode 100644 index ede2b4c..0000000 --- a/lutin_esignal.py +++ /dev/null @@ -1,57 +0,0 @@ -#!/usr/bin/python -import lutin.tools as tools -import realog.debug as debug - - -def get_type(): - return "LIBRARY" - -def get_desc(): - return "esignal is signal management for all 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([ - 'esignal/debug.cpp', - 'esignal/Connection.cpp', - 'esignal/InterfaceData.cpp', - 'esignal/Base.cpp', - 'esignal/details/Signal.cpp', - ]) - my_module.add_header_file([ - 'esignal/debug.hpp', - 'esignal/Interface.hpp', - 'esignal/InterfaceData.hpp', - 'esignal/Base.hpp', - 'esignal/Signal.hpp', - 'esignal/Connection.hpp', - 'esignal/details/Signal.hxx', - ]) - my_module.compile_version("c++", 2011) - my_module.add_depend([ - 'etk', - 'ememory' - ]) - my_module.add_path(".") - my_module.add_flag('c++', [ - "-DESIGNAL_VERSION=\"\\\"" + tools.version_to_string(get_version()) + "\\\"\"" - ]) - my_module.add_optionnal_depend('echrono', compilation_flags=["c++", "-DESIGNAL_BUILD_WITH_ECHRONO"]) - my_module.add_tools(['esignal-test']) - return True -