egami/lutin_egami.py

53 lines
1.1 KiB
Python
Raw Normal View History

#!/usr/bin/python
2015-05-08 22:36:40 +02:00
import lutin.module as module
import lutin.tools as tools
2015-10-14 21:21:03 +02:00
def get_type():
return "LIBRARY"
2013-12-23 22:38:46 +01:00
def get_desc():
2015-10-14 21:21:03 +02:00
return "image generator from multiple image type"
def get_licence():
return "APACHE-2"
def get_compagny_type():
return "com"
2013-12-23 22:38:46 +01:00
2015-10-14 21:21:03 +02:00
def get_compagny_name():
return "atria-soft"
def get_maintainer():
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
def get_version():
2016-08-30 22:54:57 +02:00
return [0,3,"dev"]
2015-10-14 21:21:03 +02:00
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
2015-09-24 21:44:04 +02:00
my_module.add_extra_compile_flags()
my_module.add_src_file([
'egami/Image.cpp',
2014-01-07 21:35:05 +01:00
'egami/ImageMono.cpp',
'egami/egami.cpp',
'egami/debug.cpp',
'egami/wrapperPNG.cpp',
'egami/wrapperSVG.cpp',
2014-01-19 19:14:35 +01:00
'egami/wrapperBMP.cpp',
2015-10-14 21:21:03 +02:00
'egami/wrapperEDF.cpp'
])
2015-09-24 21:44:04 +02:00
my_module.add_header_file([
2015-09-14 21:11:04 +02:00
'egami/Image.h',
'egami/ImageMono.h',
'egami/egami.h',
])
2015-09-24 21:44:04 +02:00
my_module.add_module_depend(['etk', 'png', 'esvg', 'edtaa3'])
my_module.compile_flags('c++', [
'-Wno-write-strings',
'-Wall'])
2015-09-24 21:44:04 +02:00
my_module.add_path(tools.get_current_path(__file__))
return my_module