2013-07-11 11:23:25 +02:00
|
|
|
#!/usr/bin/python
|
2015-05-08 22:40:35 +02:00
|
|
|
import lutin.module as module
|
|
|
|
import lutin.tools as tools
|
2013-07-11 11:23:25 +02:00
|
|
|
import datetime
|
|
|
|
|
2013-12-23 22:38:46 +01:00
|
|
|
def get_desc():
|
|
|
|
return "e-tk test software"
|
|
|
|
|
|
|
|
|
|
|
|
def create(target):
|
2013-07-11 11:23:25 +02:00
|
|
|
# module name is 'edn' and type binary.
|
2015-01-12 21:43:26 +01:00
|
|
|
myModule = module.Module(__file__, 'etk_test', 'BINARY')
|
2013-07-11 11:23:25 +02:00
|
|
|
|
|
|
|
# add the file to compile:
|
2013-12-23 22:38:46 +01:00
|
|
|
myModule.add_src_file([
|
2013-07-11 11:23:25 +02:00
|
|
|
'test/main.cpp'])
|
|
|
|
|
2014-11-25 21:32:51 +01:00
|
|
|
myModule.add_module_depend(['etk', 'gtest'])
|
2013-07-11 11:23:25 +02:00
|
|
|
|
2014-10-03 23:04:23 +02:00
|
|
|
#myModule.compile_flags_XX(["-nostdinc++"]);
|
|
|
|
|
2013-07-11 13:35:49 +02:00
|
|
|
# add the currrent module at the system
|
2013-07-11 11:23:25 +02:00
|
|
|
return myModule
|
|
|
|
|