ejson/lutin_ejson.py

29 lines
581 B
Python
Raw Normal View History

2013-07-30 17:58:48 +02:00
#!/usr/bin/python
import lutinModule
import lutinTools
def Create(target):
myModule = lutinModule.module(__file__, 'ejson', 'LIBRARY')
myModule.AddModuleDepend(['etk'])
# add extra compilation flags :
myModule.add_extra_compile_flags()
2013-07-30 17:58:48 +02:00
myModule.AddSrcFile([
'ejson/debug.cpp',
'ejson/ejson.cpp',
'ejson/Array.cpp',
'ejson/Boolean.cpp',
'ejson/Null.cpp',
'ejson/Number.cpp',
'ejson/String.cpp',
2013-07-30 17:58:48 +02:00
'ejson/Object.cpp',
'ejson/Value.cpp'])
myModule.AddExportPath(lutinTools.GetCurrentPath(__file__))
# add the currrent module at the
return myModule