2016-05-12 22:45:40 +02:00
|
|
|
#!/usr/bin/python
|
2016-10-04 23:41:29 +02:00
|
|
|
import lutin.debug as debug
|
2016-05-12 22:45:40 +02:00
|
|
|
import lutin.tools as tools
|
|
|
|
|
|
|
|
|
|
|
|
def get_type():
|
|
|
|
return "LIBRARY"
|
|
|
|
|
|
|
|
def get_desc():
|
2016-06-20 23:07:25 +02:00
|
|
|
return "Zeus ewol micro-service"
|
2016-05-12 22:45:40 +02:00
|
|
|
|
|
|
|
def get_licence():
|
|
|
|
return "APACHE-2"
|
|
|
|
|
|
|
|
def get_compagny_type():
|
|
|
|
return "com"
|
|
|
|
|
|
|
|
def get_compagny_name():
|
|
|
|
return "atria-soft"
|
|
|
|
|
|
|
|
def get_maintainer():
|
2016-09-12 21:06:37 +02:00
|
|
|
return "authors.txt"
|
2016-05-12 22:45:40 +02:00
|
|
|
|
|
|
|
def get_version():
|
2016-09-15 21:46:39 +02:00
|
|
|
return "version.txt"
|
2016-05-12 22:45:40 +02:00
|
|
|
|
2016-10-04 23:41:29 +02:00
|
|
|
def configure(target, my_module):
|
|
|
|
my_module.add_depend([
|
|
|
|
'etk',
|
|
|
|
'enet',
|
|
|
|
'ememory',
|
|
|
|
'eproperty'])
|
2016-05-12 22:45:40 +02:00
|
|
|
my_module.add_src_file([
|
2016-06-20 23:07:25 +02:00
|
|
|
'zeus/debug.cpp'
|
2016-05-12 22:45:40 +02:00
|
|
|
])
|
2016-10-04 23:41:29 +02:00
|
|
|
my_module.add_path(".")
|
2016-05-12 22:45:40 +02:00
|
|
|
my_module.add_src_file([
|
2016-10-07 23:22:57 +02:00
|
|
|
'zeus/zeus.cpp',
|
2016-06-20 23:07:25 +02:00
|
|
|
'zeus/AbstractFunction.cpp',
|
|
|
|
'zeus/FutureBase.cpp',
|
|
|
|
'zeus/Future.cpp',
|
|
|
|
'zeus/File.cpp',
|
|
|
|
'zeus/Buffer.cpp',
|
2016-07-06 21:57:05 +02:00
|
|
|
'zeus/BufferParameter.cpp',
|
|
|
|
'zeus/BufferCall.cpp',
|
2016-11-22 21:19:00 +01:00
|
|
|
'zeus/BufferCtrl.cpp',
|
2016-07-06 21:57:05 +02:00
|
|
|
'zeus/BufferAnswer.cpp',
|
2016-07-11 23:36:41 +02:00
|
|
|
'zeus/BufferData.cpp',
|
2016-07-06 21:57:05 +02:00
|
|
|
'zeus/BufferEvent.cpp',
|
|
|
|
'zeus/BufferFlow.cpp',
|
|
|
|
'zeus/BufferParameter_addParameter.cpp',
|
|
|
|
'zeus/BufferParameter_getParameter.cpp',
|
2016-06-20 23:07:25 +02:00
|
|
|
'zeus/ParamType.cpp',
|
|
|
|
'zeus/Client.cpp',
|
|
|
|
'zeus/RemoteProcessCall.cpp',
|
|
|
|
'zeus/Service.cpp',
|
|
|
|
'zeus/ServiceRemote.cpp',
|
2016-06-23 22:08:11 +02:00
|
|
|
'zeus/WebServer.cpp',
|
2016-06-20 23:07:25 +02:00
|
|
|
'zeus/mineType.cpp',
|
2016-05-12 22:45:40 +02:00
|
|
|
])
|
|
|
|
my_module.add_header_file([
|
2016-10-07 23:22:57 +02:00
|
|
|
'zeus/zeus.hpp',
|
2016-10-02 17:01:22 +02:00
|
|
|
'zeus/AbstractFunction.hpp',
|
|
|
|
'zeus/AbstractFunctionTypeDirect.hpp',
|
|
|
|
'zeus/AbstractFunctionTypeClass.hpp',
|
|
|
|
'zeus/FutureData.hpp',
|
|
|
|
'zeus/FutureBase.hpp',
|
|
|
|
'zeus/Future.hpp',
|
|
|
|
'zeus/File.hpp',
|
|
|
|
'zeus/Buffer.hpp',
|
|
|
|
'zeus/BufferParameter.hpp',
|
|
|
|
'zeus/BufferCall.hpp',
|
2016-11-22 21:19:00 +01:00
|
|
|
'zeus/BufferCtrl.hpp',
|
2016-10-02 17:01:22 +02:00
|
|
|
'zeus/BufferAnswer.hpp',
|
|
|
|
'zeus/BufferData.hpp',
|
|
|
|
'zeus/BufferEvent.hpp',
|
|
|
|
'zeus/BufferFlow.hpp',
|
|
|
|
'zeus/ParamType.hpp',
|
|
|
|
'zeus/debug.hpp',
|
|
|
|
'zeus/Client.hpp',
|
|
|
|
'zeus/RemoteProcessCall.hpp',
|
|
|
|
'zeus/Service.hpp',
|
|
|
|
'zeus/ServiceRemote.hpp',
|
|
|
|
'zeus/WebServer.hpp',
|
|
|
|
'zeus/mineType.hpp',
|
2016-05-12 22:45:40 +02:00
|
|
|
])
|
2016-05-20 21:55:10 +02:00
|
|
|
if target.config["compilator"] == "clang":
|
2016-09-15 21:46:39 +02:00
|
|
|
my_module.add_flag('c++', "-Wno-unsequenced", export=True)
|
2016-05-17 22:14:02 +02:00
|
|
|
# build in C++ mode
|
|
|
|
my_module.compile_version("c++", 2011)
|
2016-10-04 23:41:29 +02:00
|
|
|
return True
|
2016-05-12 22:45:40 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|