egami/lutin_egami.py

38 lines
828 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
import lutinTools
2013-12-23 22:38:46 +01:00
def get_desc():
return "e-gami library (image generator from multiple image type)"
def create(target):
# module name is 'edn' and type binary.
2013-12-23 22:38:46 +01:00
myModule = module.Module(__file__, 'egami', 'LIBRARY')
2013-11-27 21:33:34 +01:00
# add extra compilation flags :
myModule.add_extra_compile_flags()
# add the file to compile:
2013-12-23 22:38:46 +01:00
myModule.add_src_file([
'egami/Image.cpp',
'egami/egami.cpp',
'egami/debug.cpp',
'egami/wrapperPNG.cpp',
'egami/wrapperSVG.cpp',
'egami/wrapperBMP.cpp'])
# name of the dependency
2013-12-23 22:38:46 +01:00
myModule.add_module_depend(['etk', 'png', 'esvg'])
2013-12-23 22:38:46 +01:00
myModule.compile_flags_CC([
'-Wno-write-strings',
'-Wall'])
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