From 2c6af25277a7314d095a8906feffac36a96e3f20 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Mon, 14 Sep 2015 21:11:04 +0200 Subject: [PATCH] [DEV] update Build interface --- lutin_gtest.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/lutin_gtest.py b/lutin_gtest.py index 3ba74ff..fdc0763 100644 --- a/lutin_gtest.py +++ b/lutin_gtest.py @@ -9,7 +9,7 @@ def get_license(): return "BSD 3 clauses" def create(target): - myModule = module.Module(__file__, 'gtest', 'LIBRARY') + myModule = module.Module(__file__, 'gtest', 'LIBRARY_STATIC') myModule.add_src_file([ 'gtest/src/gtest-all.cc', 'gtest/src/gtest.cc', @@ -21,6 +21,18 @@ def create(target): 'gtest/src/gtest-test-part.cc', 'gtest/src/gtest-typed-test.cc' ]) + myModule.add_header_file([ + 'gtest/include/gtest/gtest-death-test.h', + 'gtest/include/gtest/gtest.h', + 'gtest/include/gtest/gtest-message.h', + 'gtest/include/gtest/gtest-param-test.h', + 'gtest/include/gtest/gtest_pred_impl.h', + 'gtest/include/gtest/gtest-printers.h', + 'gtest/include/gtest/gtest_prod.h', + 'gtest/include/gtest/gtest-spi.h', + 'gtest/include/gtest/gtest-test-part.h', + 'gtest/include/gtest/gtest-typed-test.h' + ], rm_path='gtest/include/') myModule.add_path(tools.get_current_path(__file__)+"/gtest") myModule.add_export_path(tools.get_current_path(__file__)+"/gtest/include/") return myModule