diff --git a/.gitignore b/.gitignore index fdbb013..0d982a4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,8 @@ +__pycache__ +.bck +out +target +build *~ *.swp *.old diff --git a/GLD_gtest.json b/GLD_gtest.json new file mode 100644 index 0000000..ec7ab24 --- /dev/null +++ b/GLD_gtest.json @@ -0,0 +1,38 @@ +{ + "type":"LIBRARY_STATIC", + "group-id":"com.google", + "description":"google test interface", + "version":[1,11,0], + "maintainer":"mailing-list gtest ", + "source": [ + "googletest/googletest/src/gtest.cc", + "googletest/googletest/src/gtest-death-test.cc", + "googletest/googletest/src/gtest-filepath.cc", + "googletest/googletest/src/gtest_main.cc", + "googletest/googletest/src/gtest-matchers.cc", + "googletest/googletest/src/gtest-port.cc", + "googletest/googletest/src/gtest-printers.cc", + "googletest/googletest/src/gtest-test-part.cc", + "googletest/googletest/src/gtest-typed-test.cc" + ], + "header-install-mode": "AFTER", + "header": [ + { + "path": "googletest/googletest/include/", + "filter": "*", + "to": "" + } + ], + "path": [ + "googletest/googletest/include/", + "googletest/googletest/" + ], + "dependency": [ + "z", + "m", + "cxx" + ], + "compilation-version": { + "c++": 2014 + } +} \ No newline at end of file diff --git a/googletest b/googletest index 13206d6..e2239ee 160000 --- a/googletest +++ b/googletest @@ -1 +1 @@ -Subproject commit 13206d6f53aaff844f2d3595a01ac83a29e383db +Subproject commit e2239ee6043f73722e7aa812a459f54a28552929 diff --git a/lutin_gtest.py b/lutin_gtest.py deleted file mode 100644 index 57a4c1f..0000000 --- a/lutin_gtest.py +++ /dev/null @@ -1,91 +0,0 @@ -#!/usr/bin/python -import realog.debug as debug -import lutin.tools as tools -import os - - -def get_type(): - return "LIBRARY_STATIC" - -def get_desc(): - return "google test interface" - -def get_licence(): - return "BSD-3" - -def get_compagny_type(): - return "com" - -def get_compagny_name(): - return "Google" - -def get_maintainer(): - return ["mailing-list gtest "] - -def get_version(): - return [1,7,0] - -def configure(target, my_module): - my_module.add_src_file([ - 'googletest/googletest/src/gtest-all.cc', - 'googletest/googletest/src/gtest.cc', - 'googletest/googletest/src/gtest-death-test.cc', - 'googletest/googletest/src/gtest-filepath.cc', - 'googletest/googletest/src/gtest_main.cc', - 'googletest/googletest/src/gtest-port.cc', - 'googletest/googletest/src/gtest-printers.cc', - 'googletest/googletest/src/gtest-test-part.cc', - 'googletest/googletest/src/gtest-typed-test.cc' - ]) - my_module.add_header_file([ - 'googletest/googletest/include/gtest/gtest-typed-test.h', - 'googletest/googletest/include/gtest/gtest-param-test.h', - 'googletest/googletest/include/gtest/gtest-message.h', - 'googletest/googletest/include/gtest/gtest-test-part.h', - 'googletest/googletest/include/gtest/gtest.h', - 'googletest/googletest/include/gtest/gtest-param-test.h.pump', - 'googletest/googletest/include/gtest/gtest-printers.h', - 'googletest/googletest/include/gtest/gtest-death-test.h', - 'googletest/googletest/include/gtest/gtest_pred_impl.h', - 'googletest/googletest/include/gtest/gtest_prod.h', - 'googletest/googletest/include/gtest/gtest-spi.h' - ], destination_path='gtest') - my_module.add_header_file([ - 'googletest/googletest/include/gtest/internal/gtest-internal.h', - 'googletest/googletest/include/gtest/internal/gtest-param-util-generated.h.pump', - 'googletest/googletest/include/gtest/internal/gtest-port.h', - 'googletest/googletest/include/gtest/internal/gtest-tuple.h.pump', - 'googletest/googletest/include/gtest/internal/gtest-death-test-internal.h', - 'googletest/googletest/include/gtest/internal/gtest-linked_ptr.h', - 'googletest/googletest/include/gtest/internal/gtest-param-util.h', - 'googletest/googletest/include/gtest/internal/gtest-string.h', - 'googletest/googletest/include/gtest/internal/gtest-type-util.h', - 'googletest/googletest/include/gtest/internal/gtest-filepath.h', - 'googletest/googletest/include/gtest/internal/gtest-param-util-generated.h', - 'googletest/googletest/include/gtest/internal/gtest-port-arch.h', - 'googletest/googletest/include/gtest/internal/gtest-tuple.h', - 'googletest/googletest/include/gtest/internal/gtest-type-util.h.pump' - ], destination_path='gtest/internal') - my_module.add_header_file([ - 'googletest/googletest/include/gtest/internal/custom/gtest-port.h', - 'googletest/googletest/include/gtest/internal/custom/gtest-printers.h', - 'googletest/googletest/include/gtest/internal/custom/gtest.h' - ], destination_path='gtest/internal/custom/') - my_module.add_depend([ - 'cxx', - 'm', - 'pthread' - ]) - - if "Linux" in target.get_type(): - my_module.add_depend([ - 'arpa', - 'rpc' - ]) - - my_module.add_path("googletest/googletest") - my_module.add_path("googletest/googletest/include") - return True - - -