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'])
|
|
|
|
|
2013-11-27 21:33:34 +01:00
|
|
|
# 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',
|
2013-08-22 21:38:20 +02:00
|
|
|
'ejson/Boolean.cpp',
|
|
|
|
'ejson/Null.cpp',
|
|
|
|
'ejson/Number.cpp',
|
2013-07-31 21:35:45 +02:00
|
|
|
'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
|
|
|
|
|
|
|
|
|