2016-04-26 21:00:42 +02:00
|
|
|
#!/usr/bin/python
|
2016-10-04 23:41:29 +02:00
|
|
|
import lutin.debug as debug
|
2016-04-26 21:00:42 +02:00
|
|
|
import lutin.tools as tools
|
|
|
|
|
|
|
|
def get_type():
|
|
|
|
return "BINARY"
|
|
|
|
|
|
|
|
def get_sub_type():
|
|
|
|
return "SAMPLE"
|
|
|
|
|
|
|
|
def get_desc():
|
|
|
|
return "e-json sample"
|
|
|
|
|
|
|
|
def get_licence():
|
|
|
|
return "APACHE-2"
|
|
|
|
|
|
|
|
def get_compagny_type():
|
|
|
|
return "com"
|
|
|
|
|
|
|
|
def get_compagny_name():
|
|
|
|
return "atria-soft"
|
|
|
|
|
|
|
|
def get_maintainer():
|
|
|
|
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
|
|
|
|
|
2016-10-04 23:41:29 +02:00
|
|
|
def configure(target, my_module):
|
2016-04-26 21:00:42 +02:00
|
|
|
my_module.add_src_file([
|
2016-10-04 23:41:29 +02:00
|
|
|
'sample/main.cpp',
|
|
|
|
'sample/read.cpp',
|
|
|
|
'sample/write.cpp'
|
|
|
|
])
|
|
|
|
my_module.add_depend([
|
|
|
|
'ejson',
|
|
|
|
'test-debug'
|
|
|
|
])
|
2016-04-26 21:00:42 +02:00
|
|
|
my_module.copy_path('sample/read.json')
|
2016-10-04 23:41:29 +02:00
|
|
|
return True
|
2016-04-26 21:00:42 +02:00
|
|
|
|