2013-07-30 17:58:48 +02:00
|
|
|
#!/usr/bin/python
|
2016-10-04 23:41:29 +02:00
|
|
|
import lutin.debug as debug
|
2015-05-08 22:37:25 +02:00
|
|
|
import lutin.tools as tools
|
2013-07-30 17:58:48 +02:00
|
|
|
|
2015-10-14 21:21:03 +02:00
|
|
|
|
|
|
|
def get_type():
|
|
|
|
return "LIBRARY"
|
|
|
|
|
2013-12-23 22:38:46 +01:00
|
|
|
def get_desc():
|
2015-10-14 21:21:03 +02:00
|
|
|
return "Json parser and generator"
|
|
|
|
|
|
|
|
def get_licence():
|
2017-01-05 21:28:23 +01:00
|
|
|
return "MPL-2"
|
2015-10-14 21:21:03 +02:00
|
|
|
|
|
|
|
def get_compagny_type():
|
|
|
|
return "com"
|
|
|
|
|
|
|
|
def get_compagny_name():
|
|
|
|
return "atria-soft"
|
|
|
|
|
|
|
|
def get_maintainer():
|
2016-09-12 22:01:02 +02:00
|
|
|
return "authors.txt"
|
2013-12-23 22:38:46 +01:00
|
|
|
|
2015-10-14 21:21:03 +02:00
|
|
|
def get_version():
|
2016-09-12 22:01:02 +02:00
|
|
|
return "version.txt"
|
2013-12-23 22:38:46 +01:00
|
|
|
|
2016-10-04 23:41:29 +02:00
|
|
|
def configure(target, my_module):
|
|
|
|
my_module.add_depend([
|
|
|
|
'elog',
|
|
|
|
'etk',
|
|
|
|
'ememory'
|
|
|
|
])
|
2016-09-08 21:35:02 +02:00
|
|
|
my_module.add_extra_flags()
|
2015-09-24 21:44:04 +02:00
|
|
|
my_module.add_src_file([
|
2016-10-04 23:41:29 +02:00
|
|
|
'ejson/debug.cpp',
|
|
|
|
'ejson/FilePos.cpp',
|
|
|
|
'ejson/valueType.cpp',
|
|
|
|
'ejson/Document.cpp',
|
|
|
|
'ejson/Array.cpp',
|
|
|
|
'ejson/Boolean.cpp',
|
|
|
|
'ejson/Null.cpp',
|
|
|
|
'ejson/Number.cpp',
|
|
|
|
'ejson/String.cpp',
|
|
|
|
'ejson/Object.cpp',
|
|
|
|
'ejson/Value.cpp',
|
|
|
|
'ejson/internal/Document.cpp',
|
|
|
|
'ejson/internal/Array.cpp',
|
|
|
|
'ejson/internal/Boolean.cpp',
|
|
|
|
'ejson/internal/Null.cpp',
|
|
|
|
'ejson/internal/Number.cpp',
|
|
|
|
'ejson/internal/String.cpp',
|
|
|
|
'ejson/internal/Object.cpp',
|
|
|
|
'ejson/internal/Value.cpp'
|
|
|
|
])
|
2015-09-24 21:44:04 +02:00
|
|
|
my_module.add_header_file([
|
2016-10-04 23:41:29 +02:00
|
|
|
'ejson/FilePos.hpp',
|
|
|
|
'ejson/ejson.hpp',
|
|
|
|
'ejson/valueType.hpp',
|
|
|
|
'ejson/Document.hpp',
|
|
|
|
'ejson/Array.hpp',
|
|
|
|
'ejson/Boolean.hpp',
|
|
|
|
'ejson/Null.hpp',
|
|
|
|
'ejson/Number.hpp',
|
|
|
|
'ejson/String.hpp',
|
|
|
|
'ejson/Object.hpp',
|
|
|
|
'ejson/Value.hpp',
|
|
|
|
'ejson/iterator.hpp',
|
|
|
|
'ejson/details/iterator.hxx',
|
|
|
|
'ejson/internal/Document.hpp',
|
|
|
|
'ejson/internal/Array.hpp',
|
|
|
|
'ejson/internal/Boolean.hpp',
|
|
|
|
'ejson/internal/Null.hpp',
|
|
|
|
'ejson/internal/Number.hpp',
|
|
|
|
'ejson/internal/String.hpp',
|
|
|
|
'ejson/internal/Object.hpp',
|
|
|
|
'ejson/internal/Value.hpp'
|
|
|
|
])
|
|
|
|
my_module.add_path(".")
|
|
|
|
return True
|
2013-07-30 17:58:48 +02:00
|
|
|
|
|
|
|
|