exml/lutin_exml.py

34 lines
687 B
Python
Raw Normal View History

#!/usr/bin/python
2013-12-23 22:38:46 +01:00
import lutinModule as module
import lutinTools as tools
2013-12-23 22:38:46 +01:00
def get_desc():
return "e-xml XML parser and generator"
def create(target):
myModule = module.Module(__file__, 'exml', 'LIBRARY')
2013-12-23 22:38:46 +01:00
myModule.add_module_depend(['etk'])
# add extra compilation flags :
myModule.add_extra_compile_flags()
# add sources files
2013-12-23 22:38:46 +01:00
myModule.add_src_file([
'exml/debug.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'])
2013-12-23 22:38:46 +01:00
myModule.add_export_path(tools.get_current_path(__file__))
# add the currrent module at the
return myModule