2013-06-19 21:23:54 +02:00
|
|
|
#!/usr/bin/python
|
2013-12-23 22:38:46 +01:00
|
|
|
import lutinModule as module
|
|
|
|
import lutinTools as tools
|
2013-06-19 21:23:54 +02:00
|
|
|
|
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-06-19 21:23:54 +02:00
|
|
|
|
2013-12-23 22:38:46 +01:00
|
|
|
myModule.add_module_depend(['etk'])
|
2013-06-19 21:23:54 +02:00
|
|
|
|
2013-11-27 21:33:34 +01:00
|
|
|
# add extra compilation flags :
|
|
|
|
myModule.add_extra_compile_flags()
|
|
|
|
# add sources files
|
2013-12-23 22:38:46 +01:00
|
|
|
myModule.add_src_file([
|
2013-06-19 21:23:54 +02:00
|
|
|
'exml/debug.cpp',
|
2013-06-21 22:25:24 +02:00
|
|
|
'exml/Attribute.cpp',
|
2013-06-27 21:12:33 +02:00
|
|
|
'exml/AttributeList.cpp',
|
2013-06-21 22:25:24 +02:00
|
|
|
'exml/Comment.cpp',
|
|
|
|
'exml/Declaration.cpp',
|
|
|
|
'exml/Document.cpp',
|
|
|
|
'exml/Element.cpp',
|
|
|
|
'exml/Node.cpp',
|
|
|
|
'exml/Text.cpp'])
|
2013-06-19 21:23:54 +02:00
|
|
|
|
2013-12-23 22:38:46 +01:00
|
|
|
myModule.add_export_path(tools.get_current_path(__file__))
|
2013-06-19 21:23:54 +02:00
|
|
|
|
|
|
|
# add the currrent module at the
|
|
|
|
return myModule
|
|
|
|
|
|
|
|
|