[DEV] Basic lutin wrapper
This commit is contained in:
commit
0d5a8db4a8
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule "gtest"]
|
||||
path = gtest
|
||||
url = https://github.com/generic-library/gtest.git
|
5
README.md
Normal file
5
README.md
Normal file
@ -0,0 +1,5 @@
|
||||
Lutin wrapper
|
||||
=============
|
||||
|
||||
Used to compile the library with lutin builder interface
|
||||
|
1
gtest
Submodule
1
gtest
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 778f9663bfef9f42567a939440803f88349c40e5
|
29
lutin_gtest.py
Normal file
29
lutin_gtest.py
Normal file
@ -0,0 +1,29 @@
|
||||
#!/usr/bin/python
|
||||
import lutin.module as module
|
||||
import lutin.tools as tools
|
||||
|
||||
def get_desc():
|
||||
return "gtest : google test interface"
|
||||
|
||||
def get_license():
|
||||
return "BSD 3 clauses"
|
||||
|
||||
def create(target):
|
||||
myModule = module.Module(__file__, 'gtest', 'LIBRARY')
|
||||
myModule.add_src_file([
|
||||
'gtest/src/gtest-all.cc',
|
||||
'gtest/src/gtest.cc',
|
||||
'gtest/src/gtest-death-test.cc',
|
||||
'gtest/src/gtest-filepath.cc',
|
||||
'gtest/src/gtest_main.cc',
|
||||
'gtest/src/gtest-port.cc',
|
||||
'gtest/src/gtest-printers.cc',
|
||||
'gtest/src/gtest-test-part.cc',
|
||||
'gtest/src/gtest-typed-test.cc'
|
||||
])
|
||||
myModule.add_path(tools.get_current_path(__file__)+"/gtest")
|
||||
myModule.add_export_path(tools.get_current_path(__file__)+"/gtest/include/")
|
||||
return myModule
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user