exml/lutin_exml.py

80 lines
1.7 KiB
Python
Raw Normal View History

#!/usr/bin/python
2015-05-08 22:41:54 +02:00
import lutin.module as module
import lutin.tools as tools
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 "XML parser and generator"
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"
2013-12-23 22:38:46 +01:00
2015-10-14 21:21:03 +02:00
def get_version():
2016-09-12 21:06:37 +02:00
return "version.txt"
2013-12-23 22:38:46 +01:00
2015-10-14 21:21:03 +02:00
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
2016-09-12 22:32:19 +02:00
my_module.add_depend(['elog', 'etk', 'ememory'])
my_module.add_extra_flags()
2015-09-24 21:44:04 +02:00
my_module.add_src_file([
'exml/debug.cpp',
'exml/FilePos.cpp',
'exml/nodeType.cpp',
'exml/Attribute.cpp',
2013-06-27 21:12:33 +02:00
'exml/AttributeList.cpp',
'exml/Comment.cpp',
'exml/Declaration.cpp',
'exml/Document.cpp',
'exml/Element.cpp',
'exml/Node.cpp',
'exml/Text.cpp',
])
my_module.add_src_file([
'exml/internal/Attribute.cpp',
'exml/internal/AttributeList.cpp',
'exml/internal/Comment.cpp',
'exml/internal/Declaration.cpp',
'exml/internal/Document.cpp',
'exml/internal/Element.cpp',
'exml/internal/Node.cpp',
'exml/internal/Text.cpp'
2015-09-14 21:11:04 +02:00
])
2015-09-24 21:44:04 +02:00
my_module.add_header_file([
2016-10-02 15:58:37 +02:00
'exml/FilePos.hpp',
'exml/nodeType.hpp',
'exml/exml.hpp',
'exml/iterator.hpp',
'exml/Attribute.hpp',
'exml/AttributeList.hpp',
'exml/Comment.hpp',
'exml/Declaration.hpp',
'exml/Document.hpp',
'exml/Element.hpp',
'exml/Node.hpp',
'exml/Text.hpp',
'exml/internal/Attribute.hpp',
'exml/internal/AttributeList.hpp',
'exml/internal/Comment.hpp',
'exml/internal/Declaration.hpp',
'exml/internal/Document.hpp',
'exml/internal/Element.hpp',
'exml/internal/Node.hpp',
'exml/internal/Text.hpp'
2015-09-14 21:11:04 +02:00
])
2015-09-24 21:44:04 +02:00
my_module.add_path(tools.get_current_path(__file__))
return my_module